LineChart

fun LineChart(data: ChartData, modifier: Modifier = Modifier, style: LineChartStyle = LineChartDefaults.style(), title: String? = null, selection: ChartSelection = rememberChartSelection(), interactionEnabled: Boolean = true, animateOnStart: Boolean = true, renderMode: LineChartRenderMode = LineChartRenderMode.Morph, animationDuration: Duration = 420.milliseconds, valueFormatter: ChartValueFormatter = LineChartDefaults.valueFormatter, axisValueFormatter: ChartValueFormatter = LineChartDefaults.axisValueFormatter)(source)

Displays one or more aligned indexed series. A single public entry point handles both single- and multi-line data. Selection always refers to a source X index shared by all series. In compact mode, user interaction selects the middle source index represented by a bucket; programmatic source selection highlights the bucket containing that index.