KendoReact Charts Overview

The KendoReact Charts are a set of React components for building common chart types.

The Charts components are part of the KendoReact library which provides native KendoReact components for the React ecosystem and are available under the kendo-react-charts NPM package.

Installation

  1. Download and install the package. Use Node.js v5.0.0 or later.

    npm install --save @progress/kendo-react-charts @progress/kendo-drawing @progress/kendo-react-intl hammerjs @progress/kendo-licensing
  2. Once installed, import the package module.

    // ES2015 module syntax
    import { Chart, Sparkline, StockChart } from '@progress/kendo-react-charts';
    // CommonJS format
    const { Chart, Sparkline, StockChart } = require('@progress/kendo-react-charts');
  3. You are required to install one of the KendoReact themes to style your components. For more information on how to add the styles, refer to the article on getting started.

  4. Follow the instructions on the KendoReact My License page to activate your license. You can skip this step if your application already contains a KendoReact license file.

Dependencies

The Charts package requires you to install the following peer dependencies in your application:

  • react 16.8.2*
  • react-dom
  • @progress/kendo-drawing
  • @progress/kendo-licensing
  • @progress/kendo-react-intl
  • (Required for the Chart events) hammerjs

The following dependencies are automatically installed:

  • @progress/kendo-react-popup
  • @progress/kendo-react-common
  • @progress/kendo-charts
  • prop-types

In this article

Not finding the help you need?