Hi,In November 26, 2013 release notes I see "Support dataTableFromCsv". Where i can find more info about it?
--
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 google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/groups/opt_out.
Uncaught TypeError: Object function yu(a,b){var c=b||{};this.Fja=ri(c.csvColumns);this.mTa=c.csvColumns;this.XT=!!c.csvHasHeader;this.i4=c.sendMethod||qg;this.BIa=!!c.xhrWithCredentials;if(!ak(zu,this.i4))throw l("Send method not supported: "+this.i4);this.xja=c.makeRequestParams_||{};ru(a)?a=this.DTa(a):qu(a)&&(a=this.ETa(a));var d=a,c=qu(d),d=jn(kn(5,d)),d=ou[bd](d);(c=c&&d)||(d=a,c=ru(d),d=jn(kn(5,d)),d=ou[bd](d),c=c&&d);this.AIa=c;this.zIa=a;this.z3=kfa++;Au[z](this)} has no method 'response'
Hi, we will be updating our documentation soon, for now, I can fill you in. The dataTableFromCsv support is built into our Query object. Namely, we expose two new options: 'csvColumns' (which should be an array of column types), and 'csvHasHeader' (which determines whether the first row of the CSV should be interpreted as a header row). The file will be interpreted as CSV if you specify the csvColumns option, so it should be fairly straightforward. One thing to keep in mind is that you can only load CSV files that are on the same domain as your chart.Good luck!
- Sergey
On Mon, Dec 9, 2013 at 2:16 PM, Raimiui Tam <tamra...@gmail.com> wrote:
Hi,In November 26, 2013 release notes I see "Support dataTableFromCsv". Where i can find more info about it?
--
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 google-visualization-api+unsub...@googlegroups.com.
var queryOptions = {csvColumns: ['number', 'number' /* Or whatever the columns in the CSV file are */],csvHasHeader: true /* This should be false if your CSV file doesn't have a header */}var query = new google.visualization.Query(csvUrl, queryOptions);query.send(handleQueryResponse);function handleQueryResponse(response) {if (response.isError()) {alert('Error in query: ' + response.getMessage() + ' ' + response.getDetailedMessage());return;}var data = response.getDataTable();// Draw your chart with the data table here.}
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.
Hi.