10 Replies Latest reply: Feb 3, 2016 10:43 AM by bruno bertels

# Line Chart - 2 measures - color by expression

Hi all,

I want each line will be other color (blue and green) what is the best way to implement it?

• ###### Re: Line Chart - 2 measures - color by expression

Thanks but i didnt see the solution in your link ... what is the right expression if for 2 meausres and colors?

• ###### Re: Line Chart - 2 measures - color by expression

*In chart properties see colors there can specify colors for each of the axes

*

If you want to put dynamic colors you can expand the on expressions of your chart and put colors through conditions

• ###### Re: Line Chart - 2 measures - color by expression

My case is in qlik sense....

• ###### Re: Line Chart - 2 measures - color by expression

If it is Qlik Sense, try this. It holds good for Line Chart as well.

https://community.qlik.com/docs/DOC-8492#comment-41642

• ###### Re: Line Chart - 2 measures - color by expression

Thanks, but my case is with calculated measures (set analysis) and not dimentions...what do you think?

• ###### Re: Line Chart - 2 measures - color by expression

If you can post a sample qvf with some test data, it would be easier

• ###### Re: Line Chart - 2 measures - color by expression

Hi

https://community.qlik.com/message/921010#921010

there is en App example attached very usefull and you will read 2 approch to test with your data :

First with synthetic dimension with value list

May be first one will be more efficient due to set analysis mesure

Regards

• ###### Re: Line Chart - 2 measures - color by expression

Thats worked

Thank you very much!

but now the problem that i dont have a legand per maures

I hope in the next version qlik will add the option to change the color easily and not with expression.

• ###### Re: Line Chart - 2 measures - color by expression

Hi