influxdb-client-js

InfluxDB 2.0 JavaScript client

View the Project on GitHub influxdata/influxdb-client-js

Home > @influxdata/influxdb-client-apis > DashboardColor

DashboardColor interface

Defines an encoding of data value into color space.

Signature:

interface DashboardColor 

Properties

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.