Skip to content

Documentation / @ripl/charts / RealtimeChartSeriesOptions

Interface: RealtimeChartSeriesOptions ​

Defined in: charts/src/charts/realtime.ts:82

Configuration for an individual realtime chart series.

Properties ​

PropertyTypeDescriptionDefined in
color?stringOptional color override for the series (otherwise a palette color is generated).charts/src/charts/realtime.ts:86
fillOpacity?numberOpacity of the area fill when showArea is enabled. Defaults to 0.2.charts/src/charts/realtime.ts:96
idstringUnique identifier for the series, used as the key when pushing new values.charts/src/charts/realtime.ts:84
label?stringDisplay label for the series (shown in the legend). Defaults to the series id.charts/src/charts/realtime.ts:88
lineType?PolylineRendererRenderer controlling the line's shape (e.g. straight or curved).charts/src/charts/realtime.ts:90
lineWidth?numberWidth of the series line in pixels. Defaults to 2.charts/src/charts/realtime.ts:92
showArea?booleanFill the area beneath the line. Defaults to true.charts/src/charts/realtime.ts:94