vico
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
vico
compose-m2
/
com.patrykandpatrick.vico.compose.m2.common
Package-level
declarations
Functions
Functions
remember
M2Vico
Theme
Link copied to clipboard
@
Composable
fun
rememberM2VicoTheme
(
candlestickCartesianLayerColors
:
VicoTheme.CandlestickCartesianLayerColors
=
VicoTheme.CandlestickCartesianLayerColors.fromDefaultColors(getDefaultColors())
,
columnCartesianLayerColors
:
List
<
Color
>
=
listOf(MaterialTheme.colors.primary, MaterialTheme.colors.secondary)
,
lineCartesianLayerColors
:
List
<
Color
>
=
columnCartesianLayerColors
,
lineColor
:
Color
=
MaterialTheme.colors.onBackground.copy(alpha = 0.2f)
,
textColor
:
Color
=
MaterialTheme.colors.onBackground
)
:
VicoTheme
Creates and remembers a
VicoTheme
based on
MaterialTheme.colors
.