# Getting Started with the KendoReact Chart Wizard

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.

<div data-component="StartKendoReactFreeSection"></div>

After the completion of this guide, you will be able to achieve an end result as demonstrated in the following example.

[Demo Source](https://demos.telerik.com/kendo-react-ui/chart-wizard/get-started/source.txt)

## Install the Component

To install the Chart Wizard package, run the following command in the root folder of your React project:

```sh
 npm i @progress/kendo-react-chart-wizard
```

## Importing the Component

After installing the package, import the ChartWizard component in the React App.

1. In the `src/App.tsx` file of your React project, import the `ChartWizard` and `ChartWizardDataRow` components to enable the entire feature set of the Chart Wizard:

```jsx
// ES2015 module syntax
 import {
    ChartWizard,
    ChartWizardDataRow
    } from '@progress/kendo-react-chart-wizard';
```

## Using the Component

1. After successfully installing the Chart Wizard package and importing its component, add the following code to the App component file of your React project (for example, `src/App.tsx`).

   ```jsx
   <ChartWizard data={chartWizardData} />
   ```

2. Bind the `data` property to an object array in the `App.tsx` file:

   ```ts
   public data: 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 }
       ]
   ];
   ```

3. To style the PDF Viewer, install and import the [Meridian theme](https://www.telerik.com/design-system/docs/themes/kendo-themes/meridian/), which is one of the [four beautiful themes](https://www.telerik.com/kendo-react-ui-develop/components/styling) for KendoReact.

   3.1. Install the Meridian theme package.

   ```sh
   npm i @progress/kendo-theme-meridian
   ```

   3.2. Import the CSS file from the package in `src/App.tsx`. Add this import before your existing `App.css` import.

   ```jsx
   import '@progress/kendo-theme-meridian/dist/all.css';
   ```

4. Build and run the application by typing the following command in the root folder of your project:

   ```sh
   npm start
   ```

## 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](https://www.telerik.com/try/kendo-react-ui) and download a trial license key file
* **Commercial usage**: [Purchase a license](https://www.telerik.com/kendo-react-ui/pricing) 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](https://www.telerik.com/kendo-react-ui-develop/components/my-license) to download and install your license key file. You can skip this step if your application already contains a KendoReact license file.

## Dependencies

The Chart Wizard package requires you to install the following [peer dependencies](https://nodejs.org/en/blog/npm/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.                                                                                                                                          |

## Suggested Links

* [Binding the Chart Wizard to data](https://www.telerik.com/kendo-react-ui-develop/components/chart-wizard/data-binding)
* [API Reference of the Chart Wizard](https://www.telerik.com/kendo-react-ui-develop/components/chart-wizard/api)
