TimeSeriesChart

fun TimeSeriesChart(data: ImmutableList<Point>, modifier: Modifier = Modifier)(source)

A single line chart over data.

This is the whole public surface of :charts on purpose. Vico is configurable to a fault, and an app that reaches past this wrapper into CartesianChartHost directly re-couples itself to a pre-1.0 API — the exact coupling this module exists to absorb. One chart configured properly beats five half-configured ones; widen this only when a real screen needs something it cannot express.

Empty data renders an empty chart rather than throwing: a series with no points yet is a normal state on a first run, not an error.