[Index]

Model: data/DashboardColorMapping

Defines a list of color mappings used to style data in dashboard widgets.

Model Details: data/DashboardColorMapping

Title Description Details
Name *
  • Field Name: name
  • Type: String
Description
  • Field Name: description
  • Type: String
Mappings Specify all values that should be mapped to a particular condition.
  • Field Name: mappings.[n]
  • Type: Array
Light mode color Color to be displayed in light mode.
  • Field Name: mappings.[n].light_color
  • Type: String
  • Pattern: ^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$
  • Format: color
Dark mode color Color to be displayed in dark mode.
  • Field Name: mappings.[n].dark_color
  • Type: String
  • Pattern: ^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$
  • Format: color
Type Operations used to evaluate the data value and condition. Regex is applicable to text and numeric data. Greater than, Less than, and Range are applicable to numeric data.
  • Field Name: mappings.[n].type
  • Type: String
  • Choices: ["Regex", "Greater than", "Less than", "Range"]
Min Starting point of the range used for numeric data value.
  • Field Name: mappings.[n].min
  • Type: String
Max Ending point of the range used for numeric data value.
  • Field Name: mappings.[n].max
  • Type: String
Value Data value to be compared.
  • Field Name: mappings.[n].value
  • Type: String