ChartStyling
Utility object for chart styling and component creation. Provides reusable styled lines, points, and axes for Vico charts.
Properties
Functions
Creates a bold line suitable for highlighting primary metrics.
Creates a DefaultCartesianMarker.ValueFormatter that colors the text to match the series color.
Creates a line with a gradient fill effect. The gradient goes from the line color to transparent.
Creates a transparent line (no line, only points). Useful for distinguishing multiple metrics on the same chart.
Creates a solid line with optional point markers.
Creates a subtle line suitable for secondary metrics.
Gets Material 3 theme-aware colors with opacity. Useful for creating color variants while respecting the current theme.
Creates and remembers a com.patrykandpatrick.vico.compose.common.component.TextComponent styled for axis labels.
Creates a standard com.patrykandpatrick.vico.compose.cartesian.axis.HorizontalAxis.ItemPlacer with optimized spacing.
Creates and remembers a default CartesianMarker styled for the Meshtastic theme.