Documentation / @ripl/charts / LineChartSeriesOptions
Interface: LineChartSeriesOptions<TData>
Defined in: charts/src/charts/line.ts:94
Configuration for an individual line chart series.
Type Parameters
| Type Parameter |
|---|
TData |
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
color? | string | Explicit series colour; falls back to the chart's generated palette when omitted. | charts/src/charts/line.ts:98 |
id | string | Unique identifier for the series, used for colour assignment, legend, and data joins. | charts/src/charts/line.ts:96 |
label | string | ((item) => string) | Series name shown in the legend and tooltips (or a per-item function). | charts/src/charts/line.ts:102 |
lineStyle? | LineStyle | Line dash style: 'solid' (default), 'dashed', 'dotted', or a custom dash array. | charts/src/charts/line.ts:108 |
lineType? | PolylineRenderer | Renderer used to draw the line (e.g. straight or curved); defaults to straight segments. | charts/src/charts/line.ts:104 |
lineWidth? | number | Width in pixels of the series line. | charts/src/charts/line.ts:106 |
markerRadius? | number | Radius in pixels of each point marker. Defaults to 3. | charts/src/charts/line.ts:112 |
markers? | boolean | Show point markers along the line. Defaults to true; set false to hide them (toggling animates them in/out). | charts/src/charts/line.ts:110 |
value | number | NumericAccessor<TData> | Accessor for the series' value at each data item, or a constant applied to every item. | charts/src/charts/line.ts:100 |