vico
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
vico
compose
/
com.patrykandpatrick.vico.compose.cartesian.layer
/
LineCartesianLayer
/
Companion
Companion
object
Companion
Provides access to
Line
factory functions.
Members & Extensions
Functions
remember
Line
Link copied to clipboard
@
Composable
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
?
=
null
,
pointProvider
:
LineCartesianLayer.PointProvider
?
=
null
,
pointConnector
:
LineCartesianLayer.PointConnector
=
PointConnector.Sharp
,
dataLabel
:
TextComponent
?
=
null
,
dataLabelPosition
:
Position.Vertical
=
Position.Vertical.Top
,
dataLabelValueFormatter
:
CartesianValueFormatter
=
remember { CartesianValueFormatter.decimal() }
,
dataLabelRotationDegrees
:
Float
=
0.0f
)
:
LineCartesianLayer.Line
Creates and remembers a
LineCartesianLayer.Line
.