You can install AnyChart-React using npm , bower or yarn :

There are several ways to download/install AnyChart-React.

Where app.min.js is compiled and bundled script of your application.

Here is a basic sample that shows how to add a chart:

See examples to learn how things work:

Build

To build plugin and samples you need to install gulp if you don't have it installed already.

Please install remaining dependencies using following command

npm install

Building plugin

To compile plugin from source run following command

gulp

Building examples

To compile all examples run following command

gulp examples

To compile certain example run following command

gulp <example_name>

Feel free to modify samples, build them and see the results.

Note

React Plugin for AnyChart is developed using ES6 syntax. There are import and require statements in it, so you need a JavaScript bundler (such as browserify or webpack if you want to include it in your app.