Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
berryandcherry6
Creator III
Creator III

Adding customized color to lines in Line graph

Hi,

I have a graph with

Dimension: Month

Expresion : count({<DateType = {invitation} >}invitation_id)

                      count({<DateType = {completion} >}completion)

                     count({<DateType = {accesed} >}accesed)



Its taking default colors, i need to add my own colors/add customized color. How to do this?


You can find the Qvf file attached below


Please help me.



Regards

11 Replies
ecolomer
Master II
Master II

I see your expression lacking compared to a value

if (Sum ({<Year = {2014}>} Inv) > 100, Red ()

if (Sum ({<Year = {2015}>} Inv) > 1000, green (),

if (Sum ({<Year = {2014}>} Crs) > 200, yellow (), blue ())))

berryandcherry6
Creator III
Creator III
Author

Hi,

This condition gives me single color.

I changed condition according to my data but same color for all.

Here i cant compare according to Comparing values because Some time my Sum ({<Year = {2014}>} Inv) might be  greater than 1000 or less than 100. But color of that particular line should remain Static.Irrespective of value.

Please help me on this