Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
samuel_brierley
Creator
Creator

Common Line colours between graphs

Hi,

is there a way to make the line graphs use the same colours to represent a certain field.

just to make myself clear as i dont think that is,

I have 2 graphs one has date and contract as the dimensions and hours worked as the expression.

the other has the same dimensions but the expression is hours worked*Rate to give income.

the problem is a contract on one graph may be represented by a blue line on one graph and a yellow one on the other.

just abit of a pain to analyse, any ideas?

1 Solution

Accepted Solutions
jvishnuram
Partner - Creator III
Partner - Creator III

Hi Samuel,

You need to check the persistent color option in the chart properties for both the charts.

View solution in original post

3 Replies
jvishnuram
Partner - Creator III
Partner - Creator III

Hi Samuel,

You need to check the persistent color option in the chart properties for both the charts.

samuel_brierley
Creator
Creator
Author

thank you

magavi_framsteg
Partner - Creator III
Partner - Creator III

Samuel,

You can give an expression for the background color on the expression itself.

So the color expression for hours worked is always RGB(0,0,255).

And the color expression for worked*Rate is always RGB(0,128,128).

Using persistent colors does not always solve the problem, since you can have several objects with the same expressions rendering different colors.

Kind regards

Magnus Åvitsland

BI Architect Consultant

Framsteg AB