TinyBase logoTinyBase

LineSeries

The LineSeries component renders a line series in a CartesianChart component. If every x value in every series is a finite number, the x axis is rendered as a continuous linear scale. ISO date strings are inferred as a time scale. Other strings and booleans are rendered categorically. When sortCellId is omitted, rows are sorted by xCellId.

LineSeries(props: SeriesProps): ComponentReturnType
TypeDescription
propsSeriesProps
returnsComponentReturnType

See the Composing Charts (React) demo for this component in action:

LineSeries component example

Since

v8.5.0