# Function AreaChart

AreaChart(props, deprecatedLegacyContext?): null | ReactElement< any, any >

A React component similar to a LineChart, but with filled in areas under each line and an option to display them as stacked.

# Example

Area chart displaying total revenue per quarter from the Sample ECommerce data model.

Additional Area Chart examples:

# Parameters

Parameter Type Description
props AreaChartProps Area chart properties
deprecatedLegacyContext? any ::: warning Deprecated

:::

See

React Docs (opens new window)

# Returns

null | ReactElement< any, any >

Area Chart component