Home Forums Chart Support Using CanvasJS on react application Reply To: Using CanvasJS on react application

#15214

[UPDATE]
We have just released v2.1 with module import/export options with which you can easily integrate CanvasJS with any front-end framework like React, Angular, Vuejs, etc. Please refer to the release blog for more information. Do download the latest version from our download page and let us know your feedback.

Please follow the below steps to add React Charts into your app.
1. Save canvasjs.react.js and canvasjs.min.js within source-folder of your React application ( src or src/assets or src/lib )
2. Import the chart component into your app.
import CanvasJSReact from './canvasjs.react';

For step-to-step tutorial and example on integration, please checkout documentation page. Also checkout React Gallery for more examples.

Basic Column Chart in React


@srichakrab

We are looking into it and will get back to you at the earliest.

—–
Bivek Singh