Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
sdtfll
Contributor III
Contributor III

how to set different color for each lines in chart

masterTable:

load * inline [

name,qty,value

grant,11,12

sunny,13,19

bob,9,16 ];

draw this masterTable in chart and have two lines named: "qty", "value",

I want to set different color for them by formulars,

how to write such formular?

 

just like

if(line_name = 'qty', 'red', 'white')

 

1 Solution

Accepted Solutions
Mark_Little
Luminary
Luminary

Hi @sdtfll 

Sadly i don't believe you can colour it that way. 

You would need to set them up as Master Measures and then choose the colours there.

View solution in original post

2 Replies
Mark_Little
Luminary
Luminary

Hi @sdtfll 

Sadly i don't believe you can colour it that way. 

You would need to set them up as Master Measures and then choose the colours there.

sdtfll
Contributor III
Contributor III
Author

thanks,