Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Color for title in Line Chart

Hi

       Is there any possibility to give a specific color for title?

       In my scenario, i have written a script to change the title while selection as shown below(Script in Title by expression).

if((substringcount(getfieldselections(Group, ',', 99),'Group_one')) or

(substringcount(getfieldselections(Group, ',', 99),'Group_Two')) or

(substringcount(getfieldselections(Group, ',', 99),'Group_Three')),

'Title for Three groups','Title for other groups')

    In the above scenario, when title is 'Title for Three groups' i want to show it in default color else i want to show 'Title for other groups' in red color.

1 Reply
sunny_talwar

May be you can use a color condition on the caption tab

Capture.PNG

If(SubStringCount(GetFieldSelections(Group, ',', 99), 'Group_one') or

SubStringCount(GetFieldSelections(Group, ',', 99), 'Group_Two') or

SubStringCount(GetFieldSelections(Group, ',', 99), 'Group_Three'), RGB(...),LightRed())