backgroundColor can only be declared as a string *or* as an object, not
both. If you want to use the sub-options, you need to declare it as an
object. Remove the line:
'backgroundColor': '#FFF',
Also, your quotes might be causing some problems. Try this instead:
'backgroundColor': {
'stroke': '#F00',
'strokeWidth': 12,
'fill': '#0F0'
}
You don't need the single quotes around the property names unless you intend
to pass this through a JSON interpreter (like retrieving it from a PHP
script via AJAX). There's nothing wrong with using them, though, you just
have to use them right.
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-visualization-api/-/cjh0FXEN8qAJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-visualization-api?hl=en.