Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
prat1507
Specialist
Specialist

Conditional font color of values on data points in Pie chart

Hi

I've a pie chart with dimensions having 3 values. I want to show different colors for values on data points in Pie chart for 3 different dimension values. Please help.

Regards

Pratyush

1 Solution

Accepted Solutions
8 Replies
Not applicable

Hi i think it's not possible for values on data points to provide different colors, apart from that we can use text in chart, but it can good with static dimension values

varshavig12
Specialist
Specialist

varshavig12
Specialist
Specialist

Something like:

if(Month='Jan', red(),

if(Month='Feb',blue(), green()))

praveenkumar_s
Creator II
Creator II

Hi,

     Wow...It works great varsha..

Not applicable

Hi,

you can make a condition like if(dim='a', lightred(), lightblue() ) )with the formula in the +Background color of the expression

good luck

HtH F.

prat1507
Specialist
Specialist
Author

Hi Varsha

I've tried this but this does not work. Can you please share the .qvw with an example of your implementation.

Regards

Pratyush

prat1507
Specialist
Specialist
Author

It is working now. Haha, I'd already tried this but it didn't, again I tried and it worked. What is this blackmagic!! Nonetheless......Thanks a lot.

Regards

Pratyush

varshavig12
Specialist
Specialist

Something might be missing in the first trial.

Happens many times with me.

Regards,

Varsha