Hi all,
I'm trying to make this gviz pie chart from the example here example https://google-developers.appspot.com/chart/interactive/docs/quick_start in angular js.
What services do I need to write?
The example code above uses 1) A google ajax library to load the gviz library 2) A gviz dataTable. 3) A gviz pie chart 4) document.getElementById
It seems like I'll need to write my own service for each of these, except $document. Is this true? That seems like an awful lot of boiler plate =/ (Side question, why is this wrapping benefitial?)
Can someone take a stab at what the dataTable service might look like? I'm really not sure how to get access to google.visualization.DataTable() to 'translate' this line. var data = new google.visualization.DataTable();
-Will
--
You received this message because you are subscribed to the Google Groups "gviz-users" group.
To view this discussion on the web visit https://groups.google.com/a/google.com/d/msg/gviz-users/-/b_qsSStzssYJ.
To post to this group, send email to gviz-...@google.com.
To unsubscribe from this group, send email to gviz-users+...@google.com.
For more options, visit this group at http://groups.google.com/a/google.com/group/gviz-users/?hl=en.