Creating a color palette
Warning
To create a palette, the user needs the admin role for a DataLens instance.
To create a color palette:
-
Go to the DataLens home page
. -
In the left-hand panel, select
Service settings. -
Under Palettes, add a new palette:
Gradient color paletteColor paletteThe gradient color palette is used in charts for numerical indicators.
-
Go to Gradient color palettes and click + Add palette.
-
In the window that opens, enter the following parameters:
-
Enter the Palette name at the top.
-
Enter the start value for the gradient color at the bottom left and its end value at the bottom right. For example, specify
0044A3
on the left and8CCBFF
on the right for a gradient from dark-blue to light-blue.To add an intermediate gradient value, click
below and specify the value. The changes will be displayed in the preview window.
-
-
Click Save.
The color palette is used in charts for discrete values: indicator names, measurement values.
-
Go to Color palettes and click**+ Add palette**.
-
In the window that opens, enter the following parameters:
-
Enter the Palette name at the top.
-
In the list on the right, click + Add color and enter values for palette colors in hexadecimal format.
By default, values for 20 colors are set. You can edit, add, or delete palette colors. To change the order of colors, drag them using the mouse pointer. The changes will be displayed in the preview window.
-
-
Click Save.
-
Changing a color palette
To change a color palette:
- Go to the DataLens home page
. - In the left-hand panel, select
Service settings. - Go to Palettes and click the line with the palette to change.
- Make changes in the Configure color palettes window.
- Click Save.
Deleting a color palette
Note
Deleting a color palette resets the color settings in all charts where it was used.
To delete a color palette:
- Go to the DataLens home page
. - In the left-hand panel, select
Service settings. - Go to Palettes and hover over the name of the palette to delete.
- Click
on the right and select Delete. - Click Delete.