Line Plot
fun <X, Y> XYGraphScope<X, Y>.LinePlot(data: List<Point<X, Y>>, modifier: Modifier = Modifier, lineStyle: LineStyle? = null, symbol: @Composable (Point<X, Y>) -> Unit? = null, animationSpec: AnimationSpec<Float> = KoalaPlotTheme.animationSpec)
A line plot that draws data as points and lines on an XYGraph.
Parameters
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 plot.
Type Parameters
X
The type of the x-axis values
Y
The type of the y-axis values