Gradient background color in Line Chart

390 views
Skip to first unread message

Fred

unread,
May 24, 2011, 7:29:19 AM5/24/11
to Google Visualization API
Is it possible to create a background with gradient in the Line Chart
using the Visualization API form GWT. I have tried a few different
ideas but none of the work.

This is what my code looks like so far:

LineChart lineChart = new LineChart(createTable(), createOptions());

my createOptions metod (which doewsn't work):
private Options createOptions()
{
Color c = Color.create();
c.set("chf", "c,lg,0,EFEFEF,0,BBBBBB,1");

options.setBackgroundColor(c);
}

Would be great if someone out there could help me along. Thinking
about going back to Highcharts which I got to work with GWT.

ChartALot

unread,
May 25, 2011, 4:51:11 AM5/25/11
to google-visua...@googlegroups.com
I'm sorry, but we do not support this option.


--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To post to this group, send email to google-visua...@googlegroups.com.
To unsubscribe from this group, send email to google-visualizati...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.


Reply all
Reply to author
Forward
0 new messages