A very simple bar chart.
Simple Line chart with custom property accessors.
Overwrite chart color
You can share context between multiple charts and switch the underlining charting library on the fly.
Charts.BarChart.Props
[alias: Charts.Bar
]Attribute | Description | Type | Accepted values | Default |
---|---|---|---|---|
data | value number | array | [] | |
color | css color string | string | - | theme.palette.brand |
position | Bizcharts data keys | string | key-x *key-y | |
... | native props | HTMLAttributes | 'className', ... | - |
Charts.LineChart.Props
[alias: Charts.Line
]Attribute | Description | Type | Accepted values | Default |
---|---|---|---|---|
data | value number | array | [] | |
color | css color string | string | - | theme.palette.brand |
position | Bizcharts data keys | string | key-x *key-y | - |
... | native props | HTMLAttributes | 'className', ... | - |