Try this when defining a chart:

'options': {
        'backgroundColor':{
                        'fill': '#990000',
                        'stroke': '#990000',
                        'strokeWidth': 5}
              }

or yourChartName.setOptions({
                                       'backgroundColor':{
                                                    'fill': '#990000',
                                                    'stroke': '#990000',
                                                    'strokeWidth': 5}
                                          });
or you could make a options variable, which I think is what you're
trying to do.

var options = { backgroundColor':{
                                        'fill': '#990000',
                                        'stroke': '#990000',
                                        'strokeWidth': 5}
                                     };
yourChartName.setOptions( options );

On Aug 22, 5:29 pm, fear209 <[email protected]> wrote:
> How do i define these in options = {};
>
> ???
>
> I tried options = { backgroundColor.stroke: '#990000' };
> but i "get syntax error unexpected token ."
>
> tnx

-- 
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 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.

Reply via email to