Appearance
Neon Round Gauge Widget
Overview
Neon Round Gauge Widget includes its own configuration fields in the widget configuration flow.
Configuration Fields
- Title
- Alias
- Devices
- Selected Device ID
- Selected Metric
- Min Value
- Max Value
- Warning Value
- Critical Value
- Decimals
- Unit
- Normal Color
- Warning Color
- Critical Color
- Show Min Max
- Show Device Name
- Show Badge
- Blink ON Critical
- Global Keys
- Loading Devices
- Loading Keys
- Device
- Metric
- Key
- Telemetry Keys
- Aggregation
Defaults
- Title — ""
- Alias — null
- Selected Device ID — ""
- Selected Metric — config.telemetryKeys?.[0] || config.key || ""
- Min Value — config.minValue === null || config.minValue === undefined ? 0 : Number(config.minValue
- Max Value — config.maxValue === null || config.maxValue === undefined ? 100 : Number(config.maxValue
- Warning Value — config.warningValue === null || config.warningValue === undefined ? null : Number(config.warningValue
- Critical Value — config.criticalValue === null || config.criticalValue === undefined ? null : Number(config.criticalValue
- Decimals — 1) || 1
- Unit — ""
- Normal Color — "#46ffb2"
- Warning Color — "#ffd84d"
- Critical Color — "#ff4d6d"
- Show Min Max — true
- Show Device Name — true
- Show Badge — true
Source
- File — NeonRoundGaugeWidgetConfig.tsx
