Skip to content

Documentation / @ripl/charts / RealtimeChartOptions

Interface: RealtimeChartOptions

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

Options for configuring a RealtimeChart.

Extends

Properties

PropertyTypeDescriptionInherited fromDefined in
animation?boolean | Partial<ChartAnimationOptions>Animation configuration, or a boolean toggling all transitions. See ChartAnimationOptions.BaseChartOptions.animationcharts/src/core/chart.ts:89
autoRender?booleanWhether the chart renders automatically on construction and after every Chart.update. Defaults to true.BaseChartOptions.autoRendercharts/src/core/chart.ts:83
axis?ChartAxisInputAxis configuration (labels, ticks, title).-charts/src/charts/realtime.ts:107
crosshair?ChartCrosshairInputCrosshair overlay configuration.-charts/src/charts/realtime.ts:101
grid?ChartGridInputBackground grid line configuration.-charts/src/charts/realtime.ts:99
legend?ChartLegendInputSeries legend configuration.-charts/src/charts/realtime.ts:105
padding?Partial<ChartPadding>Space reserved around the chart, per edge, in pixels.BaseChartOptions.paddingcharts/src/core/chart.ts:85
seriesRealtimeChartSeriesOptions[]The series to stream, one line/area per entry.-charts/src/charts/realtime.ts:95
showYAxis?booleanShow the y-axis. Defaults to true.-charts/src/charts/realtime.ts:109
title?string | Partial<ChartTitleOptions>Chart title as plain text, or a ChartTitleOptions object for full control.BaseChartOptions.titlecharts/src/core/chart.ts:87
tooltip?ChartTooltipInputHover tooltip configuration.-charts/src/charts/realtime.ts:103
transitionDuration?numberDuration in milliseconds of the transition applied on each push. Defaults to 300.-charts/src/charts/realtime.ts:115
windowSize?numberNumber of samples kept in the sliding window before the oldest scrolls off. Defaults to 60.-charts/src/charts/realtime.ts:97
yMax?numberFixed upper bound for the y-axis (otherwise derived from the windowed data).-charts/src/charts/realtime.ts:113
yMin?numberFixed lower bound for the y-axis (otherwise derived from the windowed data).-charts/src/charts/realtime.ts:111