Hi Simon! *...WOW!*
Many thanks...! I am truly very eager to try this out and I promise to get back to you! Thanks again! LEE On Fri, Sep 9, 2016 at 6:14 AM, 'Simon Roberts' via Google Visualization API <[email protected]> wrote: > Hello Lee, > > Maybe something like this - > > $(document).ready(function () { > > $.ajax({ > url: "/Reporting/LeaveList", > data: "", > dataType: "json", > type: "POST", > contentType: "application/json; chartset=utf-8", > success: function (data) { > chartData = data; > }, > error: function () { > alert("Error loading data! Please try again."); > } > }).done(function () { > // after complete loading data > google.setOnLoadCallback(drawChart); > drawChart(); > }); > }); > > > > > > On Thursday, 1 September 2016 23:16:54 UTC+1, Lee Deneault wrote: >> >> Dear Google Groups, >> >> Instead of *EMBEDDING* the following *DATA*, seen below, into *HTML5 >> Code*... >> >> function drawChart() { >> var data = google.visualization.arrayToDataTable([ >> ['Year', 'Sales', 'Expenses'], >> ['2004', 1000, 400], >> ['2005', 1170, 460], >> ['2006', 660, 1120], >> ['2007', 1030, 540] >> ]); >> >> >> I would like to be able to actually *READ* this very same data from either a >> *CSV *or a *JSON *formatted *DATA FILE*! >> >> Needless to say, any insight would be *GREATLY* appreciated! >> >> Thanks, in advance, for your time and consideration! >> >> Best Regards, >> >> LEE >> >> >> -- > 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/styZhyyAGMA/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To post to this group, send email to google-visualization-api@ > googlegroups.com. > Visit this group at https://groups.google.com/ > group/google-visualization-api. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/google-visualization-api/4d244bdd-b529-4b5c-a34e- > 48e0b3dc971b%40googlegroups.com > <https://groups.google.com/d/msgid/google-visualization-api/4d244bdd-b529-4b5c-a34e-48e0b3dc971b%40googlegroups.com?utm_medium=email&utm_source=footer> > . > 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 https://groups.google.com/group/google-visualization-api. To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/CAC8GfU8DDt2BtZrRtobH%2BGiHNhqm3RugKr7kr5er_0LfCM3Waw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
