Discussion:
[visualization-api] Google Chart - GEO chart and Core Chart is not working on the Same Page.
Ganesh Moorthi
2016-08-19 10:45:05 UTC
Permalink
HI,

Could you please any one help me,


In google chart , GEO chart and Core chart is not working on the same
page.. This is multiple charts display in same page...

Please copy the usamap code from google chart and 3d pie chart code. and
put it in same page..

Then run it..

Please check your browser..

Help me...

Thanks
--
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+***@googlegroups.com.
To post to this group, send email to google-visualization-***@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/cb4d1210-0756-407a-aa67-bdce91697cb3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
'Daniel LaLiberte' via Google Visualization API
2016-08-19 16:03:46 UTC
Permalink
Ganesh,

Here is an example using GeoChart and PieChart on the same page:
https://jsfiddle.net/dlaliberte/v9pukgsq/
Note that this example depends on using the 'upcoming' version (which is
v45). With the 'current' version (v44), it still needs both the jsapi and
gstatic loaders for GeoChart.
Post by Ganesh Moorthi
HI,
Could you please any one help me,
In google chart , GEO chart and Core chart is not working on the same
page.. This is multiple charts display in same page...
Please copy the usamap code from google chart and 3d pie chart code. and
put it in same page..
Then run it..
Please check your browser..
Help me...
Thanks
--
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
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/cb4d1210-0756-407a-aa67-
bdce91697cb3%40googlegroups.com
<https://groups.google.com/d/msgid/google-visualization-api/cb4d1210-0756-407a-aa67-bdce91697cb3%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
***@Google.com <***@google.com> 5CC, Cambridge MA
--
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+***@googlegroups.com.
To post to this group, send email to google-visualization-***@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/CAOtcSJPjyvCs1hN%3DiPhY8A33q%3DCqsWSnp7nETQQZN8Kk5BE%2BYg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
a***@gmail.com
2016-08-23 14:56:07 UTC
Permalink
Hi,

I have a similar issue with several chart types not loading together on the
same page, but my coding is quite alot different from your example (and any
others i see on here).

You will have to excuse my noviceness but i have no coding background, i
was just looking for a way to display our analytics data on our internal
sharepoint server for all users to see without the need to log on and the
attached code allows me to acomplish this (by pasting this code into an
embedded snippet). Bus as you can see the page and users chart no longer
appear.

Any and all help appreciated.

Mark
--
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+***@googlegroups.com.
To post to this group, send email to google-visualization-***@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/4f067c46-fcc0-4bcd-a607-ae0246bf5235%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
'Daniel LaLiberte' via Google Visualization API
2016-08-23 15:13:18 UTC
Permalink
Hi Mark,

It appears I broke the dynamic loading of packages during the last release
(July 1) for the jsapi loaded library. Until that is fixed, you should
either explicitly load the packages for 'table' and 'gauge', or better, I
would recommend you switch to using the new gstatic loader and use the
'upcoming' version which *does* now support dynamic package loading. See
the instructions at:
https://developers.google.com/chart/interactive/docs/basic_load_libs#update-library-loader-code

So your code will look something like this:

(remove your loading of jsapi and call of google.setOnLoadCallback())

<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<script type="text/javascript">
google.charts.load('upcoming', {packages: ['corechart']});
google.charts.setOnLoadCallback(drawVisualization);
</script>
--
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+***@googlegroups.com.
To post to this group, send email to google-visualization-***@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/45eefc87-2ef3-45a7-acff-fd8f6531dfda%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
a***@gmail.com
2016-08-26 10:05:26 UTC
Permalink
Hi Daniel,

Thanks for the quick response, works like a charm!

Many thanks :)
--
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+***@googlegroups.com.
To post to this group, send email to google-visualization-***@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/14a95cad-d392-4b79-80c4-9bd0f30f69c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Continue reading on narkive:
Loading...