Qlik Community

Ask a Question

New to Qlik Sense

If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.

Announcements
Welcome to our newly redesigned Qlik Community! Read our blog to learn about all the new updates: READ BLOG and REPORTED ISSUES
cancel
Showing results for 
Search instead for 
Did you mean: 
Contributor
Contributor

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

!

Master II
Master II

Hi Helen Tang,

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

- Sangram

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.

Contributor
Contributor

Thanks Simone.

Contributor
Contributor

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

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.

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?

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)

Contributor
Contributor

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