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 Kendo UI 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
  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 Kendo UI themes to style your components. For more information on how to add the styles, refer to the article on getting started.

Dependencies

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

  • react 16.8.2*
  • react-dom
  • @progress/kendo-react-intl
  • @progress/kendo-drawing
  • (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
 /