Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Announcements
Qlik® Product Spotlight: Discover what’s possible. Get more from our products.
See for yourself. Register today.
bijoylalu
Contributor

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

Re: Color for title in Line Chart

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