To display a complete chart in one go - for example from a set of points retrieved from a database, the data must be supplied in the form of an array, that holds an object that has
series
,labels
, anddata
arrays. This is broadly the same as the raw format used by the angular chart.js library.
You will need to process your data into this structure in order to render it correctly.