Multiple dual X-axes charts on one page

64 views
Skip to first unread message

alexey....@muranosoft.com

unread,
Oct 7, 2015, 9:58:58 AM10/7/15
to Google Visualization API
I used dual X-axis charts in my project. All works fine until one moment I figured out that only one chart was shown on page. I created a sample in jsfiddle https://jsfiddle.net/56ev8hua/
If I comment "var material = new google.charts.Bar(document.getElementById('chart_div')); material.draw(data, options);" second chart was drawn correctly.
Does anyone know what is changed? Could I still use two dual x-axis charts on one page?

Daniel LaLiberte

unread,
Oct 7, 2015, 10:05:16 AM10/7/15
to Google Visualization API
Multiple material charts in the same page are the source of the problem you are seeing.  This problem is fixed in the next release, which you can see if you switch to using the frozen loader with version 43:  https://jsfiddle.net/56ev8hua/2/

--
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/ef46642e-07f7-4617-9624-dd2676232732%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
dlaliberte@Google.com   5CC, Cambridge MA
daniel.laliberte@GMail.com 9 Juniper Ridge Road, Acton MA

alexey....@muranosoft.com

unread,
Oct 7, 2015, 12:09:54 PM10/7/15
to Google Visualization API
Thank you.


On Wednesday, October 7, 2015 at 5:05:16 PM UTC+3, Daniel LaLiberte wrote:
Multiple material charts in the same page are the source of the problem you are seeing.  This problem is fixed in the next release, which you can see if you switch to using the frozen loader with version 43:  https://jsfiddle.net/56ev8hua/2/
On Wed, Oct 7, 2015 at 9:58 AM, <alexey....@muranosoft.com> wrote:
I used dual X-axis charts in my project. All works fine until one moment I figured out that only one chart was shown on page. I created a sample in jsfiddle https://jsfiddle.net/56ev8hua/
If I comment "var material = new google.charts.Bar(document.getElementById('chart_div')); material.draw(data, options);" second chart was drawn correctly.
Does anyone know what is changed? Could I still use two dual x-axis charts on one page?

--
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-visualization-api+unsub...@googlegroups.com.



--
dlali...@Google.com   5CC, Cambridge MA
daniel.l...@GMail.com 9 Juniper Ridge Road, Acton MA
Reply all
Reply to author
Forward
0 new messages