Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Linechart change colour

Hi again,

I have now created a line chart and I want to use specific colours for the lines. I see it's possible to add colours, but how do I do it? I want one line to be green and another red for example? Where can I find the codes for colours and how do I add it in the fx?

Thanks

2015-09-26_1639.png

12 Replies
Gysbert_Wassenaar

As far as I know it's not yet possible to set the color for each individual measure.


talk is cheap, supply exceeds demand
balexbyrd
Contributor III
Contributor III

In the line chart, you must have a Dimension (cannot be a Master Item) in order to change the colors.

In the color property, select custom > by expression and adjust the below formula to work for your needs.

if([Customer]='Paracel',Green(),Red())

returns:

Please mark the reply as correct or helpful if it suits your needs

neha_sri
Creator III
Creator III

yes you can change the colour.

color_change.jpg
Change colour 1-6 and colour 7-12 as per your requirement.

color_change_qvw.jpg
attached is the qvw

Gysbert_Wassenaar

Qlik Sense, not QlikView


talk is cheap, supply exceeds demand
Anonymous
Not applicable
Author

Yes. Its possible to change line color as per requirement in Qlikview 11. You need to select color tab & then in color tab select color as you required. In the below screen shot I have selected green color for first expression & red color for second expression.

neha_sri
Creator III
Creator III

sorry..my mistake..:)

robert_mika
Master III
Master III

QlikSense not QliVview...

Anonymous
Not applicable
Author

sorry ...

Not applicable
Author

Thank you for your help. Plannig on learning Qlik View as well so good to know that it's possible there.