yugalatea / gwt-google-apis

Automatically exported from code.google.com/p/gwt-google-apis
0 stars 0 forks source link

Visualization API: Properties class needs setters? #264

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Found in Release:
1.0.2

Detailed description:
A user was trying to set cell properties using the Properties object.

http://groups.google.com/group/google-visualization-api/browse_thread/thread/e31
a2dda1b9ba132?hl=en

As far as I can tell, we don't provide a way to set values in the
Properties object.

Workaround if you have one:
static native Properties createRedProperties() /*-{
  return { 'style' : 'background-color: red' };

}-*/;

...

data.setCell(i, 1, value, createRedProperties(), null); 

Links to the relevant GWT Developer Forum posts:

Original issue reported on code.google.com by galgwt.reviews@gmail.com on 18 May 2009 at 2:00

GoogleCodeExporter commented 9 years ago
As of June 2009 they do.

Original comment by zundel@google.com on 7 May 2010 at 3:47

GoogleCodeExporter commented 9 years ago

Original comment by piotr.sw...@gmail.com on 14 May 2010 at 9:36