Line Chart
A composable function that displays a Line Chart with a single data set.
Parameters
The data set to be displayed in the chart.
The style to be applied to the chart. If not provided, the default style will be used.
Enables touch interactions (drag selection). Defaults to true. Ignored when renderMode is LineChartRenderMode.Timeline.
Enables initial chart animations. Defaults to true.
Chart transition mode. Defaults to LineChartRenderMode.Morph.
Timeline transition duration. Used only when renderMode is LineChartRenderMode.Timeline.
Optional preselected point index for deterministic rendering (e.g. screenshots). Dense zoom/scroll style settings are applied in morph mode and ignored in timeline mode.
A composable function that displays a Line Chart with multiple data sets.
Parameters
The data sets to be displayed in the chart.
The style to be applied to the chart. If not provided, the default style will be used.
Enables touch interactions (drag selection). Defaults to true. Ignored when renderMode is LineChartRenderMode.Timeline.
Enables initial chart animations. Defaults to true.
Chart transition mode. Defaults to LineChartRenderMode.Morph.
Timeline transition duration. Used only when renderMode is LineChartRenderMode.Timeline.
Optional preselected point index for deterministic rendering (e.g. screenshots). Dense zoom/scroll style settings are applied in morph mode and ignored in timeline mode.