You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create chart components based on charts.js, charts should be updated whenever their data changes via one-way binding and also should support events like click.
Pie
Bar
Line
Doughnut
Radar
PolarArea
The text was updated successfully, but these errors were encountered:
ReferenceError: Chart is not defined
at LineChart.initChart (http://localhost:1880/node_modules/primeng/components/chart/linechart/linechart.js:107:30)
at LineChart.ngAfterViewInit (http://localhost:1880/node_modules/primeng/components/chart/linechart/linechart.js:70:14)
a
coming from
this.chart = new Chart(this.el.nativeElement.children[0].getContext("2d")).Line(this.value, {
if I try to display it inside a div hidden (accordion or bootstrap collapse), then on div content visible the chart is not displayed. Is it something to do with Angular 2 ?
Create chart components based on charts.js, charts should be updated whenever their data changes via one-way binding and also should support events like click.
The text was updated successfully, but these errors were encountered: