# Function Chart

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

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

ReactElement< any, any > | null

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