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 |
|
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. |