[visualization-api] Re: Question about creating a timeline

2014-08-19 Thread MB
I implemented as you suggested, but now I get aOne or more participants failed to draw()× error. Any idea what could be going on? (file attached). I can't think you enough, you've been incredibly helpful. (On a side note, is there any easy way for an amateur to debug this myself so I don't have

[visualization-api] Re: Question about creating a timeline

2014-08-19 Thread Andrew Gallant
The problem stems from your ChartRangeFilter, and is ultimately 3-fold. First, the container ID is specified incorrectly, the object key should be containerId, not containerID. Second, you need to use the filterColumnIndex option when using a column index, not the filterColumnLabel option

[visualization-api] Re: Question about creating a timeline

2014-08-12 Thread MB
I'm back with yet another question. Now that this task is complete, I'm trying to apply some advanced features like controls. My first goal is to add a filter to the bottom of the timeline where I can draw to just see the dates that I want to see. I followed the guidance on the

[visualization-api] Re: Question about creating a timeline

2014-08-12 Thread Andrew Gallant
You have to convert your Timeline into a ChartWrapper in order to use it with a Dashboard: var chart = new google.visualization.ChartWrapper({ chartType: 'Timeline', containerId: 'Chart', options: { // put your chart options here } }); On Tuesday, August 12, 2014 5:14:58

[visualization-api] Re: Question about creating a timeline

2014-07-26 Thread MB
Thank you so much! This is perfect. And I learned some JS in the process :) Really appreciate the help. On Friday, July 25, 2014 9:09:08 PM UTC-4, Andrew Gallant wrote: Thanks for the reminder, I started an answer a few days ago and got distracted away. You can merge the DataTables from

[visualization-api] Re: Question about creating a timeline

2014-07-25 Thread MB
bump On Tuesday, July 22, 2014 10:08:46 AM UTC-4, MB wrote: Whoops accidentally deleted the main topic. Thank you very much Andrew. I was able to create the timeline as such. I have one additional question. I am now trying to query two data sources and combine the results into one chart.

[visualization-api] Re: Question about creating a timeline

2014-07-25 Thread Andrew Gallant
Thanks for the reminder, I started an answer a few days ago and got distracted away. You can merge the DataTables from each query together with a bit of hackery: http://jsfiddle.net/asgallant/2wt3Q/ This method will work with any number of queries you need to make, as long as every query

[visualization-api] Re: Question about creating a timeline

2014-07-22 Thread Matthew Bleiman
Whoops accidentally deleted the main topic. Thank you very much Andrew. I was able to create the timeline as such. I have one additional question. I am now trying to query two data sources and combine the results into one chart. The code I have so far is here: http://jsfiddle.net/29PPu/

[visualization-api] Re: Question about creating a timeline

2014-07-16 Thread Andrew Gallant
The Timeline will create multiple rows of bars per row if there are overlapping events in that row. As an example, if you change the start year for John Adams to 1796, it spills over to a new line, since it overlaps with George Washington: http://jsfiddle.net/asgallant/khCws/ On Wednesday,