Getting Started with the KendoReact Chart WizardPremium
This guide provides the information you need to start using the KendoReact Chart Wizard—it includes instructions about the recommended installation approach, the code for running the project, and links to additional resources.
After completing this guide, you will be able to reproduce the following example.
Before You Begin
If you do not have a React project, create one with Vite by running the following command:
npm create vite@latest my-app -- --template react-ts
This guide requires that you have basic knowledge of React and TypeScript, and that you have already created a blank React project.
You can accelerate your Chart Wizard journey with the KendoReact Agentic UI Generator and the Component Assistant prompts.
Install the Component
The KendoReact Chart Wizard package is distributed via npm and can be installed using the npm package manager.
To install the Chart Wizard package along with its dependencies and Kendo theme, run the following command in the root folder of your React project:
npm i @progress/kendo-react-chart-wizard @progress/kendo-theme-meridian
Import the CSS file from the package in src/App.tsx. Add this import before your existing App.css import:
import '@progress/kendo-theme-meridian/dist/all.css';
Are you looking for guidance around how to create visually appealing and consistent user interfaces with Telerik UI components? Check out the Progress Design System.
Use the Component
The KendoReact Chart Wizard is a premium component that requires a commercial license key or an active trial license key.
-
In
src/App.tsx, import theChartWizardcomponent and theChartWizardDataRowtype from the Chart Wizard package:tsximport { ChartWizard, type ChartWizardDataRow } from '@progress/kendo-react-chart-wizard'; -
Define the data passed to the
ChartWizardcomponent:tsxconst chartWizardData: ChartWizardDataRow[] = [ [ { field: 'Product Name', value: 'Calzone' }, { field: 'Quantity', value: 1 }, { field: 'Price', value: 12.39 }, { field: 'Tax', value: 2.48 }, { field: 'Total', value: 14.87 } ], [ { field: 'Product Name', value: 'Margarita' }, { field: 'Quantity', value: 2 }, { field: 'Price', value: 8.79 }, { field: 'Tax', value: 3.52 }, { field: 'Total', value: 21.1 } ], [ { field: 'Product Name', value: 'Pollo Formaggio' }, { field: 'Quantity', value: 1 }, { field: 'Price', value: 13.99 }, { field: 'Tax', value: 2.8 }, { field: 'Total', value: 16.79 } ] ]; -
Add the Chart Wizard markup to the return statement of the
Appcomponent insrc/App.tsx:tsxreturn <ChartWizard data={chartWizardData} />; -
Run the application from the root folder of your project:
shnpm run dev -
Navigate to http://localhost:5173 to see the KendoReact Chart Wizard on the page.
KendoReact Chart Wizard Dependencies
The Chart Wizard package requires you to install the following peer dependencies in your application:
| Package Name | Description |
|---|---|
| react 18.0.0* | Contains the functionality necessary to define React components. |
| react-dom | Contains the React renderer for the web. |
| @progress/kendo-react-buttons | Contains the KendoReact Button components. |
| @progress/kendo-react-charts | Contains the KendoReact Chart components. |
| @progress/kendo-react-common | Contains common utilities that enhance the performance and functionalities of the KendoReact UI components. |
| @progress/kendo-react-dialogs | Contains the KendoReact Dialog components. |
| @progress/kendo-react-form | Contains the KendoReact Form components. |
| @progress/kendo-react-dropdowns | Contains the KendoReact Dropdowns, which allows users to choose from a predefined list of options. |
| @progress/kendo-react-grid | Contains the KendoReact Grid component. |
| @progress/kendo-react-inputs | Contains the KendoReact Inputs, which the input of data, based on a specific and predefined format. |
| @progress/kendo-react-intl | Contains 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-labels | Contains the KendoReact Label components. |
| @progress/kendo-react-layout | Contains the KendoReact Layout components. |
| @progress/kendo-react-popup | Contains the KendoReact Popup components. |
| @progress/kendo-licensing | Contains the internal infrastructure related to licensing. |
| @progress/kendo-svg-icons | Contains the KendoReact SVG icons. |
Activating Your License Key
Important: The KendoReact Chart Wizard is a premium component that requires a license key file to be installed in your project:
- Trial usage: Start a free trial and download a trial license key file
- Commercial usage: Purchase a license and download a commercial license key file
Without a valid license key file, the component will display licensing warnings and watermarks.
Follow the instructions on the KendoReact My License page to download and install your license key file. You can skip this step if your application already contains a KendoReact license file.