Skip to content

Documentation / @ripl/charts / RealtimeChartSeriesOptions

Interface: RealtimeChartSeriesOptions

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

Configuration for an individual realtime chart series.

Properties

PropertyTypeDescriptionDefined in
areaOpacity?numberOpacity of the area fill when showArea is enabled. Defaults to 0.2.charts/src/charts/realtime.ts:89
color?stringOptional colour override for the series (otherwise a palette colour is generated).charts/src/charts/realtime.ts:79
idstringUnique identifier for the series, used as the key when pushing new values.charts/src/charts/realtime.ts:77
label?stringDisplay label for the series (shown in the legend). Defaults to the series id.charts/src/charts/realtime.ts:81
lineType?PolylineRendererRenderer controlling the line's shape (e.g. straight or curved).charts/src/charts/realtime.ts:83
lineWidth?numberWidth of the series line in pixels. Defaults to 2.charts/src/charts/realtime.ts:85
showArea?booleanFill the area beneath the line. Defaults to true.charts/src/charts/realtime.ts:87