We're not sure why this started to happen a couple weeks ago, but a good
solution is to use the new release, which you can only use (currently) via
the Frozen Google Charts loading mechanism, which is documented here:
https://developers.google.com/chart/interactive/docs/library_loading_enhancements#frozen-versions

On Fri, Oct 9, 2015 at 4:10 PM, Brian Eng <[email protected]> wrote:

> I am having this exact same issue as of about two weeks ago. 6 line chart
> graphs all drawn and were working correctly. Now the behavior is exactly as
> you describe, one graph is drawn at random among the 6.
>
>
> On Monday, October 5, 2015 at 10:26:12 AM UTC-7, Roland Wornor wrote:
>>
>> Quick question,
>>
>> Up to about a week or so ago, I was able to use the google chart
>> visualization package 1.1 to display two charts on my web page. Now I am
>> only able to select one of the two charts at a time - and the selection is
>> random. I don't remember changing anything and I am using google's out of
>> the box examples nothing really custom. Did google Visualization API
>> change? This code below worked up to about a week ago. Now only one of
>> these charts will display at a time. I would like both to display.
>>
>> <head>
>> <script type="text/javascript" src="
>> https://www.google.com/jsapi?autoload={'modules':[{'name':'visualization
>> ','version':'1.1','packages':['bar']}]}"/>
>> </head>
>> <body>
>>                 <div class="container-fluid"
>> style="width:100%;height:380px;background-color:#CAD6E0">
>>                   <div id="candidate_count"
>> style="width:50%;padding:20px;float:left;margin-top:30px"></div>
>>                   <div id="avg_duration"
>> style="width:50%;padding:20px;float:left;margin-top:30px"></div>
>>
>>                 </div>
>> </body>
>> <script>
>>   google.setOnLoadCallback(drawChart);
>>   function drawChart() {
>>   var dataHires = google.visualization.arrayToDataTable([
>>     ['2015', 'Hires'],
>>     ['January', 30],
>>     ['February', 22],
>>     ['March', 45],
>>     ['April', 29],
>>     ['May', 18],
>>     ['June', 33],
>>     ['July', 30],
>>     ['August', 44],
>>     ['September', 18],
>>     ['October', 22],
>>     ['November', 14],
>>     ['December', 10]
>>   ]);
>>
>>   var dataDuration = google.visualization.arrayToDataTable([
>>     ['2015', 'Days'],
>>     ['January', 12],
>>     ['February', 11],
>>     ['March', 16],
>>     ['April', 13],
>>     ['May', 14],
>>     ['June', 11],
>>     ['July', 10],
>>     ['August', 13],
>>     ['September', 14],
>>     ['October', 15],
>>     ['November', 14],
>>     ['December', 13]
>>   ]);
>>
>>   var optionsHires = {
>>     chart: {
>>       title: 'Hires This Year (By Month)',
>>       subtitle: ''
>>     },
>>     width: 500,
>>     bars: 'vertical',
>>     vAxis: {format: 'decimal'},
>>     height: 250,
>>     colors: ['#2c94dc']
>>   };
>>
>>   var optionsDuration = {
>>     chart: {
>>       title: 'Average Duration This Year (By Month)',
>>       subtitle: ''
>>     },
>>     width: 500,
>>     bars: 'vertical',
>>     vAxis: {format: 'decimal'},
>>     height: 250,
>>     colors: ['#00a08c']
>>   };
>>
>>   var chartHires = new
>> google.charts.Bar(document.getElementById('candidate_count'));
>>   chartHires.draw(dataHires,
>> google.charts.Bar.convertOptions(optionsHires));
>>   var chartDuration = new
>> google.charts.Bar(document.getElementById('avg_duration'));
>>   chartDuration.draw(dataDuration,
>> google.charts.Bar.convertOptions(optionsDuration));
>>
>> }
>> </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 [email protected].
> To post to this group, send email to
> [email protected].
> 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/9035be2c-0245-4f81-9975-696354857991%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/9035be2c-0245-4f81-9975-696354857991%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>  -
978-394-1058
[email protected] <[email protected]>   5CC, Cambridge MA
[email protected] <[email protected]> 9 Juniper Ridge
Road, Acton 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 [email protected].
To post to this group, send email to [email protected].
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/CAOtcSJO9UUdthJuUhbcQYOPRbv-St9ZRWB4DNhT76HZ-3NJYZg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to