• What is KendoReact
  • Getting Started
  • Server Components
  • Components
    • Animation
    • Barcodes
    • Buttons
    • Chartsupdated
    • Common Utilities
    • Conversational UIupdated
    • Data Gridupdated
    • Data Query
    • Data Tools
    • Date Inputs
    • Date Math
    • Dialogs
    • Drawing
    • Dropdowns
    • Editor
    • Excel Export
    • File Saver
    • Form
    • Gantt
    • Gauges
    • Indicators
    • Inputs
    • Labels
    • Layout
    • ListBoxupdated
    • ListView
    • Map
    • Notification
    • OrgChart
    • PDF Processing
    • PDFViewer
    • PivotGrid
    • Popup
    • Progress Bars
    • Ripple
    • Scheduler
    • ScrollView
    • Sortable
    • Spreadsheet
    • TaskBoard
    • Tooltips
    • TreeList
    • TreeView
    • Upload
  • Sample Applications
  • Styling & Themes
  • Common Features
  • Project Setup
  • Knowledge Base
  • Changelog
  • Updates
  • Troubleshooting

Getting Started with the KendoReact Charts

This guide provides information about using the KendoReact Charts—you will learn how to install the package, add a Chart component to your project, style the component, and activate your license. The steps in this guide are applicable to all components in the Charts package.

After completing this guide, you will be able to reproduce the following example.

View Source
Change Theme:

Setting Up Your React Project

Before you install the KendoReact Charts, make sure that you have a running React project. The easiest way to set up a React project is to use the Create React App approach that is described in the Get Started with KendoReact article.

Installing the Components

All KendoReact packages are distributed through npm and offer a similar installation experience. To use any component from the Charts package, start with the installation of the package and its dependencies. Use Node.js v5.0.0 or later.

Navigate to the root folder of your React project and run the following command:

npm install --save @progress/kendo-react-charts @progress/kendo-drawing @progress/kendo-react-intl @progress/kendo-react-layout @progress/kendo-react-progressbars @progress/kendo-svg-icons @progress/kendo-licensing hammerjs

Importing the Components

After installing the Charts package, import the desired components in the React App. In this guide, you will add data series to the Chart, and this requires you to import the ChartSeries collection and the ChartSeriesItem configuration component.

In the App component file of your React project (for example, src/App.js), add the following code:

// ES2015 module syntax
import { Chart, ChartSeries, ChartSeriesItem } from '@progress/kendo-react-charts';
// CommonJS format
const { Chart, ChartSeries, ChartSeriesItem } = require('@progress/kendo-react-charts');

If your project requires additional components from the Charts package, you can import them too. The Charts package exports the following components:

  • Chart
  • Sparkline
  • StockChart

Using the Components

  1. After installing the Charts package and importing the components, add the Chart tags to the App component file of your React project (for example, src/App.js).

     // Provide some sample data for the Chart
     const data = [1, 2, 3, 5, 8, 13];
     const App = () => (
         <ChartSeriesItem data={data} name="Fibonacci" />
     export default App;
  2. To style the Chart, install and import the Default theme, which is one of the three beautiful themes for KendoReact.

    2.1. Install the Default theme package.

    npm install --save @progress/kendo-theme-default

    2.2. Import the CSS file from the package in src/App.js. Add this import before your existing App.css import.

    import '@progress/kendo-theme-default/dist/all.css';
  3. Build and run the application by typing the following command in the root folder of your project:

    npm start
  4. Navigate to http://localhost:3000 to see the KendoReact Chart component on the page.

Now try to add another component from the Charts package yourself. The procedures for installing, importing, and using the Charts are identical for all components in the package.

Activating Your License Key

Using any of the UI components in the KendoReact library requires either a commercial license key or an active trial license key.

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


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

Package NameDescription
react 16.8.2*Contains the functionality necessary to define React components.
react-domContains the React renderer for the web.
@progress/kendo-licensingContains the internal infrastructure related to licensing.
@progress/kendo-react-intlContains the KendoReact Internationalization package that applies the desired cultures by providing services and pipes for the parsing and formatting of dates and numbers.
@progress/kendo-react-layoutContains the KendoReact Layout components.
@progress/kendo-react-progressbarsContains the KendoReact Progressbars components.
@progress/kendo-drawingContains the Drawing library, which provides interactive vector graphics.
@progress/kendo-svg-iconsContains the KendoReact SVG icons.
hammerjsAn open-source library required for the Chart events.

The following dependencies are automatically installed:

Package NameDescription
@progress/kendo-react-popupContains the KendoReact Popup component.
@progress/kendo-react-commonContains common utilities that enhance the performance and functionalities of the KendoReact UI components.
prop-typesOne of the common scripts used by the KendoReact components.

Implementing React Charts: Video Tutorial

With this 10-minute video tutorial, you’ll learn how to implement a good-looking chart that is customized with animations, custom axes, tooltips, a title and chart legend with just a few lines of code. You’ll also see how to connect your React charts to a data set.

Using the Template Wizard in VS Code

To quickly scaffold a KendoReact Chart, you can use the Kendo UI Template Wizard for Visual Studio Code. The template allows you to add a Chart to your application with a single click. It also lets you customize your application with one of the KendoReact themes. Read more about the Kendo UI Template Wizard for Visual Studio Code...

Learning Resources