canvas

Defines a Chart component.

Charts can be line, bar, radar, pie, polarArea or doughnut according to the chartType property.
Chart data are bound to properties provided by some TypeScript data or directly from a source.

Please refer to chart.js documentation for each property and data formats.
To set width and height properties, use the Grid system.

Name Description  
Chart Type Indicates the type of charts, it can be: line, bar, radar, pie, polarArea, doughnut.  
Chart base Defines a base chart.  
Chart height Chart height.  
Chart options chart options (as from Chart.js documentation).  
Chart width Chart width.  
Data (Array<number[]> number[]) - set of points of the chart, it should be Array<number[]> only for line, bar and radar, otherwise number[].
Data labels (Array) - x axis labels. It's necessary for charts: line, bar and radar. And just labels (on hover) for charts: polarArea, pie and doughnut.  
Data sets (Array<number[]> number[]) - set of points of the chart, it should be Array<number[]> only for line, bar and radar, otherwise number[].
Comment Describes the object comment to include in the documentation report. This property generally contains an explanation about the object.  
Identifier Defines the component identifier.  
Is active Defines whether the component is active.