Figured it out. Put the hex inside quotes and make it a string.
On Feb 5, 5:03 pm, Scott <[email protected]> wrote: > I wanted to set the background color of a chart in GWT using > options.setBackgroundColor(). > > I have a hex and rgb for the color I want but those aren't acceptable > arguments. It only accepts strings it seems? > > How can I convert a hex or rgb color into an acceptable Color argument? -- 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.
