So it's compiled gwt code so it looks messy but even if I put the options
in as simple java script I get the same error (note on chrome the error
appears as "undefined is not a function" v.s. the original error message
which was from firefox)
function
com_cisco_sse_sselib_client_SSETimelineWrapper_$drawME__Lcom_cisco_sse_sselib_client_SSETimelineWrapper_2Lcom_google_gwt_visualization_client_AbstractDataTable_2V(this$static,
data){
var options = {colors:['#cbb69d', '#603913', '#c69c6e']};
this$static.com_google_gwt_visualization_client_visualizations_Visualization_jso.draw(data,
options);
}
However if I change this to:
function
com_cisco_sse_sselib_client_SSETimelineWrapper_$drawME__Lcom_cisco_sse_sselib_client_SSETimelineWrapper_2Lcom_google_gwt_visualization_client_AbstractDataTable_2V(this$static,
data){
var options = {};
this$static.com_google_gwt_visualization_client_visualizations_Visualization_jso.draw(data,
options);
}
It draws the timeline just fine
--
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/d/optout.