Unfortunately, this isn't officially supported. However, you can hack it by adding a area series or a steppedArea series to your chart and making it non-interactive. If you link to a jsfiddle with some of your data, I can show you exactly how to do so.
- Sergey On Mon, Jan 27, 2014 at 5:24 AM, Mitesh Chauhan <[email protected]>wrote: > > > I want to add background color for some range. is that possible? > > On Thursday, 12 January 2012 19:53:25 UTC+5:30, Jinji wrote: >> >> Sorry, but this is not supported at the moment. >> >> On Wed, Jan 11, 2012 at 10:22 PM, firebait <[email protected]> wrote: >> >>> I'm styling a google chart using the javascript api. I want to change >>> the background of the area where the data is plotted. For some reason >>> when I set background options like so: >>> >>> chart.draw(data, { backgroundColor: { fill: "#F4F4F4" } }) >>> >>> It changes the the background of the whole chart and not the area >>> where the data is plotted. Any ideas on how to only change the >>> background of the plotted area? >>> Thanks >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Google Visualization API" group. >>> To post to this group, send email to [email protected]. >>> To unsubscribe from this group, send email to google-visualization-api+ >>> [email protected]. >>> For more options, visit this group at http://groups.google.com/ >>> group/google-visualization-api?hl=en. >>> >>> >> -- > You received this message because you are subscribed to the Google Groups > "Google Visualization API" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to > [email protected]. > Visit this group at > http://groups.google.com/group/google-visualization-api. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/groups/opt_out.
