InfluxDB 2.0 JavaScript client
Home > @influxdata/influxdb-client-apis > DashboardColor
Defines an encoding of data value into color space.
Signature:
interface DashboardColor
Property | Modifiers | Type | Description |
---|---|---|---|
hex | string | The hex number of the color | |
id | string | The unique ID of the view color. | |
name | string | The user-facing name of the hex color. | |
type | ‘min’ | ‘max’ | ‘threshold’ | ‘scale’ | ‘text’ | ‘background’ | Type is how the color is used. | |
value | number | The data value mapped to this color. |