Re: [visualization-api] Basic question about visualization chart

2014-09-12 Thread Andrew Gallant
There are a number of different ways of populating the data for a chart, most involve something similar to querying a database on your server, building a JSON representation of a DataTable from the query results, and serving that up to your charts. The specifics of how you do this depend large

Re: [visualization-api] Basic question about visualization chart

2014-09-12 Thread Cycles Guy
Well that looks easy enough if it's static data, but I can't imagine it is static data that's been manually inputted. The real question I'm asking would be how did they locate and then auto-populate those "social mention" metrics into the Annotation Chart? I'm sure they are not manually adding

Re: [visualization-api] Basic question about visualization chart

2014-09-12 Thread 'Daniel LaLiberte' via Google Visualization API
It looks like this is the code they used: http://www.google.com/jsapi";> google.load('visualization', '1.1', {'packages':['annotationchart']}); google.setOnLoadCallback(drawChart); function drawChart() { var data = new google.visualization.DataTable(); data.a

Re: [visualization-api] Basic question about visualization chart

2014-09-12 Thread Cycles Guy
Thank you Daniel. Glad to see it's already a template for the most part. Now I just have to figure out how they're formatting the data so I can do something similar. Any suggestions on how to figure out what they're doing? Is it something I can tell by looking at their page code? On Friday, S

Re: [visualization-api] Basic question about visualization chart

2014-09-12 Thread 'Daniel LaLiberte' via Google Visualization API
That's an AnnotationChart, which is a built-in chart type. The docs are here: https://developers.google.com/chart/interactive/docs/gallery/annotationchart On Fri, Sep 12, 2014 at 3:43 PM, Cycles Guy wrote: > I'd like to add a chart like this social mentions one to my blog: > http://www.viralne

[visualization-api] Basic question about visualization chart

2014-09-12 Thread Cycles Guy
I'd like to add a chart like this social mentions one to my blog: http://www.viralnews365.com/article/Scottish-referendum-too-close-to-call-says-ICM-poll-1410540303.html Is there a pre-made widget I can use, or will this require custom-coding from scratch? If the latter, where would I start or w