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: 
neetu_singh
Partner - Creator III
Partner - Creator III

Regarding Plot Color to set Background color

Dear All,

I just want to set the background color of a bar chart on the basis of yearmonth as mention below:

Untitled.jpg

Can anybody help on this.

7 Replies
rajeshvaswani77
Specialist III
Specialist III

Hi Neetu,

You could go to the expressions then click on the + sign --> background color --> and then give if condition to check the months/year and mention the color using the RGB function.

Hope this helps.

thanks,

Rajesh Vaswani

Not applicable

Unfortunately changing the background color of the expression will only change the color of the bars/line.  As far as I know this is not possible in QV.  Interested to see if anyone can figure it out.

neetu_singh
Partner - Creator III
Partner - Creator III
Author

Hi Rajesh,

have tried the same but its not working as have two dimension one is yearmonth & second is state. so if i set the background color as mention by you it will change the color of lines not the background.


Anonymous
Not applicable

Neetu

Does the attached qvw give you food for thought ?

Best Regards,     Bill

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Here's a variation on your idea Bill that handles an variable number of years.

1-8-2014 11-25-47 AM.png

-Rob

http://masterssummit.com

http://robwunderlich.com

neetu_singh
Partner - Creator III
Partner - Creator III
Author

Hi Rob,

I want the same but the problem is in my chart there are two dimension because of that its not working.

please help.

Regards

Neetu

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Please show how you would want the second dimension to display. I don't see it in your original post.

-Rob