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

How to customize two color in one line chart

I want to customize two different colors for two lines in one line chart in Qlik Sense but seems it only can apply the one colors to two lines.

Could you please give some suggestions for it?

Regards\ Helen

捕获1.PNG捕获.PNG

12 Replies
reddy-s
Master II
Master II

Hi Helen Tang,

You can color the line chart the way you need. Please check the image below:Line chart(1).PNG

!

reddy-s
Master II
Master II

Hi Helen Tang,

I have even attached a sample qvf in my previous reply for better understanding.

- Sangram

simotrab
Creator III
Creator III

Hi! If you don't care about the colours chosen, you could select to colour the lines by dimension.

screenshot.PNG

If you want choose the colours, I think you ought to give an examples of the data: probably using a correct IF statement you can do it, but I think other informations could be useful.

Anonymous
Not applicable
Author

Thanks Simone.

Anonymous
Not applicable
Author

Hi Sangram,

Thanks for your quick reply.

I don't know how to make line chart colors as you attached.

For my problem, I just want to complete two specific colors for the two lines .(eg.RGB(123,145,241), RGB(111,47,200))

By the way, is there any way to change the line style for the line chart?

I 捕获.PNG

reddy-s
Master II
Master II

Hi Helen,

Refer to the link below. i have attached a sample QVF, on how to get the colouring done.

Line charts with dynamic / filterable measures

Let me know if you face any issues.

Hope this helps!

Thanks and Regards,

Sangram Reddy.

reddy-s
Master II
Master II

Hi Helen,

By the way, is there any way to change the line style for the line chart?

I dint understand this question? Could you please elaborate?

robert_mika
Master III
Master III

By the way, is there any way to change the line style for the line chart?

I

No is not

Feeling Qlikngry?

How To /Missing Manual(18 articles)

Anonymous
Not applicable
Author

Hi Sangram,

What I want to know is that can we change the line style (eg. change to dash line ) for line chart in Qlik Sense.

Why I ask this is due to we can do this is Qlikview but not sure whether there is the same function for Qlik Sense.

Please refer to attached picture to know what I wanna implement.

捕获.PNG