# Function Chart

Chart(props): null | ReactElement< any, any >

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

null | ReactElement< any, any >

Chart component representing a chart type as specified in ChartProps.chartType