Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Bar with different colors

Hello Everyone,

I have created a bar chart of student result status,like below image1.png

but I want show the bar of fail status with red color and remaining with green color,could anyone suggest me how is this possible.

I want output like below image..

1.png

1 Solution

Accepted Solutions
Not applicable
Author

goto background color under your dimension and say

if (result_status='Fail',Red(), Blue())

View solution in original post

3 Replies
Not applicable
Author

You can achieve this by Background color of Expression.

Just goto chart properties-->Expressions

Click on + symbol infront of the Expression-->Background Color

There write your expression like

if((your expr)<35,red(),green())

Not applicable
Author

goto background color under your dimension and say

if (result_status='Fail',Red(), Blue())

Not applicable
Author

Thank you it works.