GenericMetricChart
fun GenericMetricChart(modelProducer: CartesianChartModelProducer, layers: List<LineCartesianLayer>, modifier: Modifier = Modifier, startAxis: VerticalAxis<Axis.Position.Vertical.Start>? = null, endAxis: VerticalAxis<Axis.Position.Vertical.End>? = null, bottomAxis: HorizontalAxis<Axis.Position.Horizontal.Bottom>? = null, marker: CartesianMarker? = null, decorations: List<Decoration> = emptyList(), selectedX: Double? = null, onPointSelected: (Double) -> Unit? = null, vicoScrollState: VicoScrollState = rememberVicoScrollState())(source)
A generic chart host for Meshtastic metric charts. Handles common boilerplate for markers, scrolling, and point selection synchronization.
Uses FadingEdges to indicate scrollable content beyond the visible area, and accepts optional Decorations for reference threshold lines/bands.