Package-level declarations

Types

Link copied to clipboard
data class VicoTheme(val candlestickCartesianLayerColors: VicoTheme.CandlestickCartesianLayerColors, val columnCartesianLayerColors: List<Color>, val lineCartesianLayerColors: List<Color> = columnCartesianLayerColors, val lineColor: Color, val textColor: Color)

Houses default chart colors.

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun fill(color: Color): Fill
fun fill(shaderProvider: ShaderProvider): Fill

Creates a Fill.

Link copied to clipboard
fun insets(all: Dp = 0.dp): Insets
fun insets(horizontal: Dp = 0.dp, vertical: Dp = 0.dp): Insets
fun insets(start: Dp = 0.dp, top: Dp = 0.dp, end: Dp = 0.dp, bottom: Dp = 0.dp): Insets

Creates an Insets instance.

Link copied to clipboard
fun ProvideVicoTheme(theme: VicoTheme, content: @Composable () -> Unit)

Provides a VicoTheme.

Link copied to clipboard
fun <M : MeasuringContext, D : DrawingContext> rememberHorizontalLegend(items: AdditionScope<LegendItem>.(ExtraStore) -> Unit, iconSize: Dp = Defaults.LEGEND_ICON_SIZE.dp, iconLabelSpacing: Dp = Defaults.LEGEND_ICON_LABEL_SPACING.dp, rowSpacing: Dp = Defaults.LEGEND_ROW_SPACING.dp, columnSpacing: Dp = Defaults.LEGEND_COLUMN_SPACING.dp, padding: Insets = Insets.Zero): HorizontalLegend<M, D>

Creates and remembers a HorizontalLegend.

Link copied to clipboard
fun <M : MeasuringContext, D : DrawingContext> rememberVerticalLegend(items: AdditionScope<LegendItem>.(ExtraStore) -> Unit, iconSize: Dp = Defaults.LEGEND_ICON_SIZE.dp, iconLabelSpacing: Dp = Defaults.LEGEND_ICON_LABEL_SPACING.dp, rowSpacing: Dp = Defaults.LEGEND_ROW_SPACING.dp, padding: Insets = Insets.Zero): VerticalLegend<M, D>

Creates and remembers a VerticalLegend.