- 14 Jun 2022
- 2 Minutes to read
Changing the Dashboard’s Color Palette
- Updated on 14 Jun 2022
- 2 Minutes to read
You can easily change the color scheme of the dashboard to suit your professional or brand preferences.
To change the color palette:
- Click in the top menu, and select the preferred color palette. The default palette is Vivid.
Three of the palettes are suitable for color blindness: ColorBlind 1, 2, and 3.
For a short video overview of the process, see below:
When you change the color of an individual widget to a new color that is not one of the palette colors, the new color will be applied to the widget regardless of the applied palette. If you select a new color from one of the palette colors, then when changing the dashboard’s palette, the color will change according to the new palette.
Creating a Custom Palette via the REST API
You can create your own brand custom palette through the REST API. Click here to learn more about using the REST API. To learn more about creating a custom palette using the REST API, see this support article.
Sisense provides the following endpoints:
Returns a list of available palettes in the Sisense web app.
Returns the default color palette.
Adds a new color palette.
Updates the dashboard's color palette.
Deletes a color palette from the color palettes.
The table below describes the parameters you can return and update through the palettes endpoints:
The colors included in the palette.Your custom palette can include up to 16 colors.
The name of the new palette.
Determines whether the new palette is the default. New dashboards are created with the default palette. There can only be one default palette at any time.
Determines the order of the palette in the palettes list.
To add an existing palette:
In Sisense, click Admin, and then Rest API.
Select version 0.9 on the top-right of the screen.
Click palettes to access the API operations related to roles.
Go to PUT/palettes/default and click Try It Out.
Indicate the current name of the palette, and make your changes. You can change the palette name, colors, etc.
Click Execute and scroll down to the Responses section to verify that the response does not contain errors.
To create a new palette:
Go to POST / palettes and click Try It Out.
Enter all the relevant values.
The new palette will be added to your Dashboard Palettes.
To delete a palette:
Go to DELETE/ palettes, click Try It Out, and enter the name of the palette to delete into the Value input box. Then click Execute .
The Palette will be deleted from the list of your dashboard Palettes.