The dataSourceUrl is typically a google spreadsheet URL as described here: https://developers.google.com/chart/interactive/docs/queries
But you can use any service that responds in a similar way, as described here: https://developers.google.com/chart/interactive/docs/dev/implementing_data_source On Mon, Jun 15, 2015 at 7:24 PM, Jeroen de Neef <[email protected]> wrote: > It seems that I have made a little mistake. > I am getting a *Uncaught ReferenceError: dataSourceUrl is not defined > *whenever > the chart is getting loaded. > What should I place at dataSourceUrl? > > 2015-06-15 19:41 GMT+02:00 Jeroen de Neef <[email protected]>: > >> Thank you, this works perfectly in the test chart at >> https://google-developers.appspot.com/chart/interactive/docs/gallery/linechart#curving-the-lines >> >> 2015-06-15 19:29 GMT+02:00 'Daniel LaLiberte' via Google Visualization >> API <[email protected]>: >> >>> Jeroen, >>> >>> If you are using google.visualization.Query, it turns out there is a >>> second parameter, undocumented, that you can use to turn off cookies at >>> least for those requests. >>> >>> google.visualization.Query(dataSourceUrl, { xhrWithCredentials: false >>> }); >>> >>> I don't know if this will work for you at all, but it is worth a try. >>> This doesn't work if you are using a ChartWrapper, however, but we could >>> probably make a change to enable that. >>> >>> >>> >>> On Sun, Jun 14, 2015 at 10:07 AM, Jeroen de Neef <[email protected]> >>> wrote: >>> >>>> Is there a way to disable cookies? >>>> I'd like to keep third party cookies on my site to a minimum so I'm >>>> looking for a way to reduce most if not get rid of all cookies if possible. >>>> >>>> -- >>>> 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. >>>> >>> >>> >>> >>> -- >>> Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> >>> - 978-394-1058 >>> [email protected] <[email protected]> 5CC, Cambridge MA >>> [email protected] <[email protected]> 9 Juniper Ridge >>> Road, Acton MA >>> >>> -- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "Google Visualization API" group. >>> To unsubscribe from this topic, visit >>> https://groups.google.com/d/topic/google-visualization-api/Bt92dLnKV7c/unsubscribe >>> . >>> To unsubscribe from this group and all its topics, 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. >>> >> >> > -- > 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. > -- Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> - 978-394-1058 [email protected] <[email protected]> 5CC, Cambridge MA [email protected] <[email protected]> 9 Juniper Ridge Road, Acton MA -- 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.
