Skip to main content
Announcements
Customer Spotlight: Discover what’s possible with embedded analytics Oct. 16 at 10:00 AM ET: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Color bars (in chart) that are negative

Using a simple bar chart, with a few values that are negative.

All bars are the same color since i am using 1 expression. But i want the bars below 0 (negative) to be Red.

Could not see a setting for this!

thanks,

1 Reply
Not applicable
Author

bernardrg,

It's possible char properties -> Expression -> (into the expression, open the tree) Background color -> edit the follow:

if(sum(Value) < 0, red())

Regards,