Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
heitzem1
Contributor
Contributor

Manage Color in Script

Hello, 

I created a sheet in Qlik Sense with multiple charts (bar charts and line charts) who display "Post-Dose" values and "Pre-Dose" values. Data are loaded into .qvs scripts. The data types of "Post-Dose" values or "Pre-Dose" values is not always the same as their label. 

In order to facilitate the data reading, I would like to display in all chart the "Post-Dose" variables in red and the "Pre-Dose" variables in blue.

Currently I use master items for each variables displayed.   I wondering if it is possible to manage variable colors into scripts. For example, is it possible to configure the master items in a .qvs script?

Thank you in advance for your help. 

Regards, 

Emma

1 Reply
brunobertels
Master
Master

Hi 

you can't configure master item in script nethertheless see this link thats giving a workaround to asign RGB color to dimension using script https://community.qlik.com/t5/QlikView-App-Dev/Assigning-a-Colour-to-a-dimension-via-the-load-script... 

 

regards