Displaying Multiple Gantt Charts in 1.1

111 views
Skip to first unread message

Josh Draper

unread,
Oct 5, 2015, 11:21:33 AM10/5/15
to Google Visualization API
I have run into an issue where trying to display multiple Gantt Charts on the same page does not work. I can render one or the other, but never both at the same time. See below fiddle for example:

I can successfully render two Bar Charts together without issue, but the second Gantt Chart does not render. If you comment out the chart1() function (line 95) or the chart2() function (line 96) you can see that if you comment out one chart, the other will display just fine. 

I realize that this chart type is currently under Beta status, but has this issue been observed or am I misunderstanding something about the API?

Sergey Grabkovsky

unread,
Oct 5, 2015, 11:30:07 AM10/5/15
to Google Visualization API
Hi Josh,

Sorry for the inconvenience this is causing. Looks like the issue is fixed in our upcoming release, though, so it shouldn't be a problem for much longer.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/ddc229e5-3107-4390-b198-bf0c1d9587f7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Julian Claus

unread,
Oct 6, 2015, 4:26:08 AM10/6/15
to Google Visualization API
I have the same problem with Line Charts.

Akanksha Dabadghao

unread,
Nov 17, 2015, 12:15:59 AM11/17/15
to Google Visualization API
Hi Sergey,

 Has this issue been resolved yet. I am trying to load multiple gantt charts, but only 1 gets rendered. I saw there were frozen versions available for google charts, but it didn work with gantt charts.

Thank.
Akanksha

Sergey

unread,
Nov 17, 2015, 9:37:28 AM11/17/15
to Google Visualization API
Hi Akansksha,

This issue should be fixed in release 43, which is only available in frozen versions.

Here is an example of using Gantt with frozen 43: https://jsfiddle.net/t7b2shrj/
Message has been deleted

Josh Draper

unread,
Nov 17, 2015, 11:44:43 AM11/17/15
to Google Visualization API
I can confirm this is fixed with the method Sergey provided. See below:

Akanksha Dabadghao

unread,
Nov 19, 2015, 12:33:59 AM11/19/15
to Google Visualization API
Thanks Josh !
Works perfectly !
Reply all
Reply to author
Forward
0 new messages