Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Announcements
Coming your way, the Qlik Data Revolution Virtual Summit. October 27-29. REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Contributor
Contributor

Qlik Sense Desktop - How to add a particular color theme for all charts

Using Qlik Sense desktop, we need to implement a predefined range of colors to all the charts in our application. For e.g. we need to implement different shades of Green and Blue on all charts. Please suggest an example or steps needed to achieve this.

10 Replies
Highlighted
Specialist II
Specialist II

Hi Hatimtaj,

this thread will help you: Alternative color schemes / palettes management

However as far as I know alternate color schemes is not officially supported in Qlik Sense yet.

G.

Highlighted
Highlighted
Contributor
Contributor

Thank you undergrinder and Balraj for quick reply. We have checked the suggested links but it does not resolve our issue.

The link "Alternative color schemes / palettes management"  is not much clear. Do you know how can we make a custom theme and how do we access it in our desktop app and where should we add that theme. Are there any link which suggest a step by step procedure. Also the link suggests to add the /theme/highvis  - at the end of the URL but that change the whole dashboard theme and not just the chart. My requirement is to apply a theme only to a chart on any dashboard.

Highlighted
Champion
Champion

might help you?

More Qlik Sense Themes

And check the comment part as well here: Qlik Sense high vis mode – Webofwork

Highlighted
Specialist II
Specialist II

Hi

to change the theme only to a chart of your dashboard see this link :

The approach aims to use an expression that doesn't need to be rewritten each time the measure changes and can be copied across different objects without changes.

this will explain you how to define color pallete with variable then use a particular mesure in all your chart to apply your color range pallette :

https://community.qlik.com/docs/DOC-14760

written by ryy

in Qlik Sense 2.1 follow the end of the post :

Workaround for v2.1 and below:

- The sort order is kind of critical, the only way of making this function in v2.1 was to use the formula itself as rowno(), rank(column(1)) and other options would all deactivate the sort order of descending values which is pretty important in most charts. As such your formula would be as follows:

ColorMix1( rank(total [your measure expression here] ) / NoOfRows(TOTAL) , $(vColorMixDark), $(vColorMixLight))

- Unfortunately this means there is always an admin element whenever you use this, and whenever you change the expression formula. However, a quick upgrade to v2.2. in a months time (as of writing) will have you back to quick and simple.

Highlighted
Specialist II
Specialist II

Balraj shared a great links, if you download the highvis theme, you can manipulate it's JSON file.

Qlik Sense 2.0 or above is required.

G.

Highlighted
Luminary
Luminary

This method does not support displaying legends in the respective color.

Highlighted
Contributor
Contributor

Thanks Bruno, it does change the chart color but the legends are missing and I have to show the legends as mine are mostly stacked bar charts. Is there any other option to set themes for charts?

Highlighted
Specialist II
Specialist II

Hi

Yes you're right. it's because chart in qlik sense does'nt support legend with specific color by expression.

May be with next version of Qlik Sense it will be possible. Wait and see ..

you can perhaps add a Text and image box with your colors as  legend