a-chart
ChartElement
A simple chart with data loaded from a URL and styleable with CSS. Data should be structured acording to the Chart.js Data Structure.
Example
Attributes
Name | Type | Default value | Description |
---|---|---|---|
height
|
number | undefined |
height in pixel |
src
|
string | undefined |
url to daata |
type
|
"bar" | "line" | undefined |
chart type |
width
|
number | undefined |
width in pixel |
Events
Name | Description |
---|---|
load
|
Emitted when the chart has loaded. |