Palette
This page explains how to define and apply palette themes in KX Dashboards, including CSS-based color schemes and dynamic palette updates based on selected themes.
Palette Theme
Field |
Description |
---|---|
Palette Theme |
Palette Themes can be set in the stylesheet properties. The Palette property dropdown is automatically populated with these themes. If the Palette property is updated, then the colors in the Palettes update based on set theme. |
Defining Theme
To define a palette theme, add the following css template:
-
Define palette name; must prefix with "palette_", for example, .palette_gradient
-
Define theme; for example, .light or .dark
-
Define index name; for example, .color1
Sample css:
CSS
.palette_gradient .light .color1 { color : #ff0000; }
Palettes
Field |
Description |
---|---|
Palettes |
|
For Color order for a pivot query or when using a regular expression for a wild card property, the assignment of the colors is done in the order of the Data.