diff --git a/src/components/chart/Chart.js b/src/components/chart/Chart.js index 8b7faf2ad8..b4064353f5 100644 --- a/src/components/chart/Chart.js +++ b/src/components/chart/Chart.js @@ -28,7 +28,7 @@ export class Chart extends Component { }; initChart() { - this.chart = new ChartJS(this.canvas, { + this.chart = new ChartJS.Chart(this.canvas, { type: this.props.type, data: this.props.data, options: this.props.options