rememberLine
fun LineCartesianLayer.Companion.rememberLine(fill: LineCartesianLayer.LineFill = vicoTheme.lineCartesianLayerColors.first().let { color ->
remember(color) { LineCartesianLayer.LineFill.single(fill(color)) }
}, thickness: Dp = Defaults.LINE_SPEC_THICKNESS_DP.dp, areaFill: LineCartesianLayer.AreaFill? = remember(fill) { fill.getDefaultAreaFill() }, cap: StrokeCap = StrokeCap.Round, 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.