Function Chart
Chart(
props):Promise<ReactNode> |ReactNode
A React component used for easily switching chart types or rendering multiple series of different chart types.
Example
A chart component displaying total revenue per quarter from the Sample ECommerce data model. The component is currently set to show the data in a column chart.
Parameters
| Parameter | Type | Description |
|---|---|---|
props | ChartProps | Chart properties |
Returns
Promise< ReactNode > | ReactNode
Chart component representing a chart type as specified in ChartProps.chartType