This project demonstrates creating and interacting with a ZingChart instance using React. It's written using React 17 function components and hooks.
You'll need an environment with node
and npm
installed.
After cloning this repository:
cd zingchart-react-demo
npm install
npm run start
You should then be able to view the demo in your browser at localhost:3000
.
This project was bootstrapped with Create React App via this sequence of commands:
npx create-react-app zingchart-react-demo
cd zingchart-react-demo
npm install
npm install zingchart-react
npm install react-router-dom
npm run start
Note: ZingChart does not currently list React 17 as a valid dependency, we bypass the error message in the .npmrc
file.