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: 
manideep78
Partner - Specialist
Partner - Specialist

Change colour for the portion of title in a chart

Dear Community,

I wish to change my title colour based on condition. But the important thing is I dont want to change my entire title colour but I need to change a portion of the title.

I am having an expression like this

='Count of DoseCavities    =    '&Count({<DoseCavities={$(=Replace(vDoseSelection,'|',','))}>}LensKey)

When I make a selection the value in expression changes but what I want is Count of DoseCavities   =   should remain in same colour permanently and only the value related to the expression should change.

Eg:

The ouput I should get is like below

Count of DoseCavities    =  50500

Count of DoseCavities    =  30000

Count of DoseCavities    = 10000

Thanks in advance.

1 Solution

Accepted Solutions
Gysbert_Wassenaar

That's not possible. A text can only have one color.


talk is cheap, supply exceeds demand

View solution in original post

4 Replies
Gysbert_Wassenaar

That's not possible. A text can only have one color.


talk is cheap, supply exceeds demand
Not applicable

You can add text object with your expression "Count({<DoseCavities={$(=Replace(vDoseSelection,'|',','))}>}LensKey)" and place it near the title with higher layer and set font color by expression.

manideep78
Partner - Specialist
Partner - Specialist
Author

Thanks for your effort Nikolay. I tried it. But can I do it directly in a title of a chart without using any object?

Not applicable

In this way, I agree with Gysbert- it's not possible in standart qlikview objects.