Line Chart
fun <X, Y, P : Point<X, Y>> XYChartScope<X, Y>.LineChart( data: List<P>, lineStyle: LineStyle? = null, symbol: @Composable HoverableElementAreaScope.(P) -> Unit? = null, modifier: Modifier = Modifier)
Content copied to clipboard
An XY Chart that draws series as points and lines.
Parameters
X
The type of the x-axis values
Y
The type of the y-axis values
P
The type of the line plot data points
data
Data series to plot.
line Style
Style to use for the line that connects the data points. If null, no line is drawn.
symbol
Composable for the symbol to be shown at each data point.
modifier
Modifier for the chart.