[Chartjs]-Angular 2 Chart.js and NG2-Charts Not Binding Data Objects After Updates To Project

4👍

There is no longer the selector base-chart valid.

Per ng2-charts changelog

base-chart component became baseChart directive so you need to convert

<base-chart...></base-chart>

to

<canvas baseChart...></canvas>

and most probably wrap in

<div style='display:block'>...</div>

See Plunker Example

Leave a comment