Chartjs-Injecting chart.js sparkline to jqxGrid widget in Angular with typescript

0👍

In the function where you make your chart you specify the data as an array with a single value so only a single point is drawn, chart.js needs at least 2 values to draw a line between them.

Also your chart does not have enough height to display anything correctly so if you want your graph to be useful you also need to give the container some more height

Leave a comment