Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

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

Tags (1)
12 Replies

Re: Linechart change colour

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
New Contributor III

Re: Linechart change colour

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
Contributor II

Re: Linechart change colour

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

Re: Linechart change colour

Qlik Sense, not QlikView


talk is cheap, supply exceeds demand
rsatish111
New Contributor III

Re: Linechart change colour

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
Contributor II

Re: Linechart change colour

sorry..my mistake..Smiley Happy

Re: Linechart change colour

QlikSense not QliVview...

rsatish111
New Contributor III

Re: Linechart change colour

sorry ...

Not applicable

Re: Linechart change colour

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

Community Browser