Hi Steve,

The GWT wrappers that you are using are an unofficial project which is not 
supported by the Google Visualizations Team. The problem that you are 
reporting is a known bug which you can find documented 
here: 
https://code.google.com/p/gwt-charts/issues/detail?id=43&colspec=ID%20Type%20Status%20Priority%20Browser%20Milestone%20Owner%20Summary

You can find documentation for GWT wrappers which *are* supported by Google 
at https://code.google.com/p/gwt-google-apis/wiki/Overview

George


On Wednesday, October 30, 2013 2:49:19 PM UTC-4, Steve Morgan wrote:
>
> I'm using the GWT-Charts Java wrapper for Google Visualization tools. I'm 
> adding interval roles but I get an exception when I add the role column:
> Here's the code:
> LineChart chart = new LineChart();
> DataTable table = DataTable.create();
> table.addColumn(ColumnType.STRING, "Month");
> table.addColumn(ColumnType.NUMBER, "Sales");
> DataColumn col = DataColumn.create(ColumnType.NUMBER, RoleType.INTERVAL);
> table.addColumn(col);
> return chart;
>
> This throws:
> (Error) 
> @com.googlecode.gwt.charts.client.DataTable::addColumn(Lcom/googlecode/gwt/charts/client/DataColumn;)([JavaScript
>  
> object(12)]): Invalid type: function () {
>       var result = __static(dispId, this);
>       if (result[0]) {
>         throw result[1];
>       } else {
>         return result[1];
>       }
>     }.
>
> Reading the JavaDoc for the RoleType.Interval doesn't give me a warm 
> feeling that this code has ever been used: "Text to display when the user 
> hovers over the data point associated with this row. Data type: string 
> Default:
>  * Data point value"
>
> That's clearly wrong. 
> Has anyone here successfully used GWT-Charts and the Interval function?
> Thanks!
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to