Hey Daniel,
I've similar problem. I face with the error "this.stringify is not a
function" . I share the code below. Regards.
<!-- html body -->
<script type="text/javascript"
src="https://www.google.com/jsapi"></script>
<script type="text/javascript"
src="http://code.jquery.com/jquery-2.1.4.min.js"></script>
<div id="chart_data" style="width: 100%; height: 330px;"></div>
<script>
try{
google.load("visualization", "1", {packages:["corechart","line"]});
function drawChart() {
var myData = google.visualization.arrayToDataTable([
['Hour', 'x', 'y']
,['9', 230, 249],['10', 375, 407],['11', 467, 486],['12', 301, 347],['13',
325, 380],['14', 678, 827],['15', 786, 770],['16', 0, 0]
]);
var data_options = {
title: 'Data'
,vAxis: {title: 'count'}
,hAxis: {title: 'hour'}
,width: ($(window).width()*50)/100
,height: 330
,legend: { position: 'bottom' }
};
var chart2 = new
google.visualization.LineChart(document.getElementById('chart_data'));
chart2.draw(myData, data_options);
}
//-------------------------------------------
$(window).resize(function(){
drawChart();
});
$(document).ready(function(){
drawChart();
});
}
catch(err){
alert(err);
}
</script>
<!-- html body end -->
19 Ağustos 2015 Çarşamba 15:14:29 UTC+3 tarihinde Daniel LaLiberte yazdı:
>
> There was a change recently, as announced in this forum here:
> https://groups.google.com/forum/#!topic/google-visualization-api/XxP1zYbWQRE
>
> Can you give more details about how you got that error message? Post
> enough code to reproduce the problem, or better, point to your page, or
> create an example on jsfiddle. Thanks.
>
> On Wed, Aug 19, 2015 at 3:07 AM, abhishek praharaj <[email protected]
> <javascript:>> wrote:
>
>> Hi Team,
>>
>> We implemented a google chart api in one of the systems and it was
>> working fine till recently we started getting the error "Object doesn't
>> support property or method 'stringify'". Was there any recent change in the
>> jsapi ?
>>
>> 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 [email protected]
>> <javascript:>.
>> To post to this group, send email to [email protected]
>> <javascript:>.
>> 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/08b17c49-041f-45c4-a199-6feacf1a6cf9%40googlegroups.com
>>
>> <https://groups.google.com/d/msgid/google-visualization-api/08b17c49-041f-45c4-a199-6feacf1a6cf9%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] <javascript:> 5CC, Cambridge MA
> [email protected] <javascript:> 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/78696857-801d-4bbd-ad14-e7f7a1833ae5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.