vico
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
vico
compose
/
com.patrykandpatrick.vico.compose.cartesian.axis
/
rememberAxisLabelComponent
remember
Axis
Label
Component
@
Composable
fun
rememberAxisLabelComponent
(
style
:
TextStyle
=
TextStyle(color = vicoTheme.textColor, fontSize = Defaults.AXIS_LABEL_SIZE.sp)
,
lineCount
:
Int
=
Defaults.AXIS_LABEL_MAX_LINES
,
overflow
:
TextOverflow
=
TextOverflow.Ellipsis
,
margins
:
Insets
=
Insets(Defaults.AXIS_LABEL_HORIZONTAL_MARGIN.dp, Defaults.AXIS_LABEL_VERTICAL_MARGIN.dp)
,
padding
:
Insets
=
Insets(Defaults.AXIS_LABEL_HORIZONTAL_PADDING.dp, Defaults.AXIS_LABEL_VERTICAL_PADDING.dp)
,
background
:
Component
?
=
null
,
minWidth
:
TextComponent.MinWidth
=
TextComponent.MinWidth.fixed()
)
:
TextComponent
A
rememberTextComponent
alias with defaults for
Axis
labels.