Qlik Community

New to Qlik Sense

If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.

Announcements
Customer & Partners, DEC. 9, 11 AM ET: Qlik Product & Strategy Roadmap Session: Data Analytics REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
msmSahaj
Contributor III
Contributor III

How can we pick color for measure of line chart for each line??

Hi Experts,

 

I have line chart with 3 line of measures, i want to pick my custom color "by measures" but its showing option as  color  scheme gradient and  classes option (see in image).. iI want to choose specific color(not gradient style) for each line in property. please help...

Capture.JPG

3 Replies
JordyWegman
Partner
Partner

Hi Sahaj,

You can do this my making a master measure.

  1. Master Items
  2. Measures
  3. Create
  4. Create new measure
  5. Segment colors (here you define the colors)

If you have a dimension that is creating your 3 lines, you can do the same but then for dimensions.

2019-04-30 13_48_20-Qlik Sense Desktop.png

 

Jordy

Climber

Work smarter, not harder
msmSahaj
Contributor III
Contributor III
Author

@JordyWegman , thanks for information.  I have tried to change in using master item in segment. I have choose RGB for Rand 1 , Rand 2  and Rand 3.  but in line chart showing different color... if i choose rand 3, by measure in property then it showing all line showing green.. please check below.

 

.c1.JPGC2.JPG

JordyWegman
Partner
Partner

Hi,

That last one is because you use one measure with one dimension that has three values.

Check my example:

2019-04-30 16_38_12-Server 13 - 10.213.151.146.png

I have made a master measure, named it Name 2 and color green. I added this in the graph in the back as a measure and it becomes green! Same for the yellow one. Can you reproduce this?

Jordy

Climber

Work smarter, not harder