Home Forums Chart Support unable to implement dougnut chart in react app Reply To: unable to implement dougnut chart in react app

#38040

@johndate,

The issue might be due to breaking changes in webpack. You need to import CanvasJSReact to your app using import CanvasJSReact from './canvasjs.react.js' or var CanvasJSReact = require('./canvasjs.react.js').default;. Please take a look at this StackBlitz project for an example on doughnut chart in react.

Doughnut Chart in React

—-
Manoj Mohan
Team CanvasJS