rememberLine

fun LineCartesianLayer.Companion.rememberLine(fill: LineCartesianLayer.LineFill = vicoTheme.lineCartesianLayerColors.first().let { color -> remember(color) { LineCartesianLayer.LineFill.single(fill(color)) } }, stroke: LineCartesianLayer.LineStroke = LineCartesianLayer.LineStroke.continuous(), areaFill: LineCartesianLayer.AreaFill? = remember(fill) { fill.getDefaultAreaFill() }, pointProvider: LineCartesianLayer.PointProvider? = null, pointConnector: LineCartesianLayer.PointConnector = remember { LineCartesianLayer.PointConnector.cubic() }, dataLabel: TextComponent? = null, dataLabelVerticalPosition: VerticalPosition = VerticalPosition.Top, dataLabelValueFormatter: CartesianValueFormatter = remember { CartesianValueFormatter.decimal() }, dataLabelRotationDegrees: Float = 0.0f): LineCartesianLayer.Line

Creates and remembers a LineCartesianLayer.Line.