# Function LineChart

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

A React component displaying data as a series of points connected by a line. Used to show trends or changes over time.

# Example

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

Additional Line Chart examples:

# Parameters

Parameter Type Description
props LineChartProps Line chart properties
deprecatedLegacyContext? any ::: warning Deprecated

:::

See

React Docs (opens new window)

# Returns

null | ReactElement< any, any >

Line Chart component