Appearance
Timeseries Widget
Overview
Timeseries Widget includes its own configuration fields in the widget configuration flow.
Configuration Fields
- Title
- Alias
- Devices
- Selected Device ID
- Selected Metric
- Line Width
- Line Color
- Curve Type
- Show Points
- Summary Metrics
- Y Axis Min
- Y Axis Max
- Global Keys
- Loading Devices
- Loading Keys
- Device
- Metric
- Telemetry Keys
- Color
- Aggregation
Defaults
- Title — ""
- Alias — null
- Selected Device ID — ""
- Selected Metric — config.telemetryKeys?.[0] || ""
- Line Width — 2) || 2, 8
- Line Color — "#1677ff"
- Curve Type — "monotone") as CurveType
- Y Axis Min — config.yAxisMin === null || config.yAxisMin === undefined ? null : Number(config.yAxisMin
- Y Axis Max — config.yAxisMax === null || config.yAxisMax === undefined ? null : Number(config.yAxisMax
Source
- File — TimeseriesWidgetConfig.tsx
