LinePlot2

fun <X, Y> XYGraphScope<X, Y>.LinePlot2(data: List<Point<X, Y>>, modifier: Modifier = Modifier, lineStyle: LineStyle? = null, symbol: @Composable (Point<X, Y>) -> Unit? = null, animationSpec: AnimationSpec<Float> = KoalaPlotTheme.animationSpec)

Deprecated

Use LinePlot instead

Replace with

LinePlot(data, modifier, lineStyle, symbol, animationSpec)

A line plot that draws data as points and lines on an XYGraph.

Parameters

data

Data series to plot.

lineStyle

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