Managing a color palette in DataLens On-premises

In DataLens On-premises, you can create, edit, or delete a color palette and configure the default palette.

Creating a color palette

To create a color palette:

  1. Go to the DataLens home page.

  2. In the left-hand panel, select Service settings.

  3. Select the Appearance tab.

  4. Under Palettes, add a new palette:

    A gradient color palette is used in charts for numerical measures.

    1. Go to Gradient color palettes and click + Add palette.

    2. 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 and 8CCBFF on the right for a dark blue to light blue gradient.

        To add an intermediate gradient value, click below and specify the value. You can check the changes in the preview window.

    3. Click Save.

    A color palette is used in charts for discrete values: measure names, dimension values.

    1. Go to Color palettes and click + Add palette.

    2. 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 hex format.

        There are 20 default colors. You can edit, add, or delete palette colors. To change the order of colors, drag them using the mouse. You can check the changes in the preview window.

    3. Click Save.

Editing a color palette

To change a color palette:

  1. Go to the DataLens home page.
  2. In the left-hand panel, select Service settings.
  3. Select the Appearance tab.
  4. Go to Palettes and click the line with the palette to change.
  5. Make changes in the Configure color palettes window.
  6. 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:

  1. Go to the DataLens home page.
  2. In the left-hand panel, select Service settings.
  3. Select the Appearance tab.
  4. Go to Palettes and hover over the name of the palette to delete.
  5. Click next to it and select Delete.
  6. Click Delete.

Setting the default color palette

To set any of the preinstalled or previously added color palettes as default:

  1. Go to the DataLens home page.
  2. In the left-hand panel, select Service settings.
  3. Select the Appearance tab.
  4. Under Palettes, select the default palette from the list. The default palette will be applied to all charts that use it. In charts with custom palette settings, the palette will not change.

If you delete the default color palette, the Default 20 palette will apply instead. It will be applied to all charts that use the default palette.