chartArea: {backgroundColor: {fill: '#F0F0F0'}}chartArea: {backgroundColor:'#F0F0F0'}
Neither works.
Thanks, Mike
--
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 google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.
Oops, I copied that wrong. Should be this:var options = {chart: {backgroundColor: 'white', // for the area outside the chartAreachartArea: {backgroundColor: '#F0F0F0'}}}
On Thu, Mar 19, 2015 at 2:21 PM, Daniel LaLiberte <dlali...@google.com> wrote:
You'll want to use the undocumented 'chart' option, to specify options that apply to the chart component of the AnnotationChart. And within the 'chart' option, there you can provide the 'chartArea' option.var options = {backgroundColor: 'white', // for the area outside the chartAreachartArea: {backgroundColor: '#F0F0F0'}}
On Thu, Mar 19, 2015 at 11:57 AM, mhjp <mhpal...@gmail.com> wrote:
I cannot figure out how to change the background color on Annotation charts. Have tried:chartArea: {backgroundColor: {fill: '#F0F0F0'}}chartArea: {backgroundColor:'#F0F0F0'}
Neither works.
Thanks, Mike
--
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 google-visualization-api+unsub...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.
--daniel.l...@GMail.com 9 Juniper Ridge Road, Acton MA--daniel.l...@GMail.com 9 Juniper Ridge Road, Acton MA
var chart = new google.visualization.AnnotationChart(document.getElementById('graph'));#graph div{
background-color: @darkBlue;
}