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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
israrkhan
Specialist II
Specialist II

Trend line color based on selection

Hi Guys,

i have a combo chart, where i am showing total quantity sold as Bar...

and brand wise quantity sold as trend line..

i have list box where user can select up to 5 brands to see the trend line in the chart...

trend line shows quantity sold of selected brands out of total..trend.png

my issue is: i want to set the color for SAMSUNG Trend line as Green, APPLE must be red, LG may be gray, nokia may be another color..

i have about 50 brands, but how to set if SAMSUNG is selected then its trend line color must be green..If Apple is selected , its color must be red, and so on...

Your help would be highly appreciated...

Many Thanks...

2 Replies
swuehl
MVP
MVP

Please have a look at

Colors in charts

awhitfield
Partner - Champion
Partner - Champion

HI IsrarKhan,

check out the following post, looks like a similar type of issue where you want to code a colour to a particular value in a dimension:

https://community.qlik.com/thread/167912

HTH - Regards Andy