Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to change the color of lines in a line chart manually

Hi guys,

very simple question:

I have a line graph with one dimension variable (time)

and multiple measures (quantities, targets, etc,..)

How can I change the colour of the lines manually to apply the colours I want.

e.g.:

- quantity line: black,

- target line: red.

?

Thank you very much!

1 Solution

Accepted Solutions
shraddha_g
Partner - Master III
Partner - Master III

Create all Measures in Master Section and assign required colors for each measure there..

https://help.qlik.com/en-US/sense/September2017/Subsystems/Hub/Content/Colors/assigning-colors-to-ma...

View solution in original post

3 Replies
micheledenardi
Specialist II
Specialist II

check this: Dimension Colors

or  Qlik Sense: How to set custom colors by measure in a bar chart

Michele De Nardi
If a post helps to resolve your issue, please accept it as a Solution.
shraddha_g
Partner - Master III
Partner - Master III

Create all Measures in Master Section and assign required colors for each measure there..

https://help.qlik.com/en-US/sense/September2017/Subsystems/Hub/Content/Colors/assigning-colors-to-ma...

alexeyrv
Contributor II
Contributor II

Its possible only for common color for all lines.
I guess the questions is how to assign individual color to a line in the line chart.

For example I want to set color by Year in a weekly line chart for sum or count of values. 
I use set analysis to draw 3 lines for 3 years. To simplify lets imagine I use static years 2017, 2018, 2019.

The Year lines has no individual color setting. Common color only, or by dimensions, or by expression.
1. Common color not enough.
2. By dimension works in a wrong way for me.

3. If I use color by expression I need to find out what this line exactly is.
The question is how to find out what set analysis condition I use for the measure?
Or what order number of line in a chart line is?

Or something line that to identify exactly what this line is.

Thanks in advance.
Alexey