Documentation / @ripl/charts / LineChartSeriesOptions
Interface: LineChartSeriesOptions<TData> ​
Defined in: charts/src/charts/line.ts:84
Configuration for an individual line chart series.
Type Parameters ​
| Type Parameter |
|---|
TData |
Properties ​
| Property | Type | Description | Defined in |
|---|---|---|---|
color? | string | Explicit series color; falls back to the chart's generated palette when omitted. | charts/src/charts/line.ts:88 |
id | string | Unique identifier for the series, used for color assignment, legend, and data joins. | charts/src/charts/line.ts:86 |
label | string | ((item) => string) | Series name shown in the legend and tooltips (or a per-item function). | charts/src/charts/line.ts:92 |
lineStyle? | LineStyleInput<TData> | Line dash style: 'solid' (default), 'dashed', 'dotted', a custom dash array, or key-anchored spans each with their own style. | charts/src/charts/line.ts:98 |
lineType? | PolylineRenderer | Renderer used to draw the line (e.g. straight or curved); defaults to straight segments. | charts/src/charts/line.ts:94 |
lineWidth? | number | Width in pixels of the series line. | charts/src/charts/line.ts:96 |
marker? | SymbolType | Marker symbol shape: 'circle' (default), 'square', 'diamond', or 'triangle'. Non-circle symbols are sized to the same visual area as the circle. | charts/src/charts/line.ts:104 |
markerRadius? | number | Radius in pixels of each point marker. Defaults to 3. | charts/src/charts/line.ts:102 |
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:100 |
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:90 |
yAxis? | string | The id of the y-axis this series binds to. Defaults to the primary axis. | charts/src/charts/line.ts:106 |