[visualization-api] Re: Chart code suddenly stopped working

2020-02-11 Thread Stephen Ramsay
Thanks for posting this. I was getting confused as multiple websites I help 
with have all had google charts breaking today.

On Monday, February 10, 2020 at 10:21:20 AM UTC-8, Dustin Saunders wrote:
>
> My JS for charts in my application suddenly stopped working.  Here's a 
> sample:
>
> data = new google.visualization.DataTable();
> data.addColumn('string', 'A');
> data.addColumn('string', 'B');
> data.addColumn('number', 'C');
> data.addColumn('number', 'D');
> data.addColumn('string', 'E');
> data.addColumn('string', 'F');
> data.addRows(chartData); 
> data.sort({ column: 2, desc: true });
> data.addColumn({ 'type': 'string', 'role': 'tooltip', 'p': { 
> 'html': true } });
> data.wg.forEach(function (a) {
> a.c[6].v = 'G';
> });
>
> And the error I get is:
>
> Uncaught TypeError: Cannot read property 'forEach' of undefined
> at :11:17
>
>
>
> It looks like the response has changed from *data.wg * to *data.Hg *?
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/446a1ec0-6702-4ac8-990a-2adfec384114%40googlegroups.com.


Re: [visualization-api] Re: Chart code suddenly stopped working

2020-02-11 Thread 'Daniel LaLiberte' via Google Visualization API
In addition to avoiding the use of internal properties, if you feel the API
should be enhanced with some additional capability, please let us know your
reasons.  Maybe we will agree, or maybe we can suggest an alternative.

On Tue, Feb 11, 2020 at 11:50 AM Dustin Saunders 
wrote:

> Thanks for the reply Jeff, explicitly loading 46 also worked for us.
>
> Same question about the Janurary release, because I noticed that today it
> was changed again from *Hg* to *eg*.  So I thought maybe my browser
> caches for a while but testing 'current' this morning shows that new change.
>
> On Tuesday, February 11, 2020 at 7:55:24 AM UTC-6, Jeff Johnson wrote:
>>
>> JS charts suddenly stopped working for me as well.
>>
>> Explicitly loading version 46 instead of current fixed things for us.
>>
>> Version 47 though came out in January, why would this only start
>> affecting people today?
>>
>> On Monday, February 10, 2020 at 1:21:20 PM UTC-5, Dustin Saunders wrote:
>>>
>>> My JS for charts in my application suddenly stopped working.  Here's a
>>> sample:
>>>
>>> data = new google.visualization.DataTable();
>>> data.addColumn('string', 'A');
>>> data.addColumn('string', 'B');
>>> data.addColumn('number', 'C');
>>> data.addColumn('number', 'D');
>>> data.addColumn('string', 'E');
>>> data.addColumn('string', 'F');
>>> data.addRows(chartData);
>>> data.sort({ column: 2, desc: true });
>>> data.addColumn({ 'type': 'string', 'role': 'tooltip', 'p': {
>>> 'html': true } });
>>> data.wg.forEach(function (a) {
>>> a.c[6].v = 'G';
>>> });
>>>
>>> And the error I get is:
>>>
>>> Uncaught TypeError: Cannot read property 'forEach' of undefined
>>> at :11:17
>>>
>>>
>>>
>>> It looks like the response has changed from *data.wg * to *data.Hg *?
>>>
>> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/af0f7e7b-1456-44a1-9ef9-78fb8a3da66c%40googlegroups.com
> 
> .
>


-- 
Daniel LaLiberte 
dlalibe...@google.comCambridge MA
go/gviz-headcount

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJONo388urM_8ueaGq3WO2WLCuQeu7qcGR8q7RYs20mjxQ%40mail.gmail.com.


[visualization-api] Re: Chart code suddenly stopped working

2020-02-11 Thread Dustin Saunders
Thanks for the reply Jeff, explicitly loading 46 also worked for us.  

Same question about the Janurary release, because I noticed that today it 
was changed again from *Hg* to *eg*.  So I thought maybe my browser caches 
for a while but testing 'current' this morning shows that new change.

On Tuesday, February 11, 2020 at 7:55:24 AM UTC-6, Jeff Johnson wrote:
>
> JS charts suddenly stopped working for me as well.
>
> Explicitly loading version 46 instead of current fixed things for us.
>
> Version 47 though came out in January, why would this only start affecting 
> people today?
>
> On Monday, February 10, 2020 at 1:21:20 PM UTC-5, Dustin Saunders wrote:
>>
>> My JS for charts in my application suddenly stopped working.  Here's a 
>> sample:
>>
>> data = new google.visualization.DataTable();
>> data.addColumn('string', 'A');
>> data.addColumn('string', 'B');
>> data.addColumn('number', 'C');
>> data.addColumn('number', 'D');
>> data.addColumn('string', 'E');
>> data.addColumn('string', 'F');
>> data.addRows(chartData); 
>> data.sort({ column: 2, desc: true });
>> data.addColumn({ 'type': 'string', 'role': 'tooltip', 'p': { 
>> 'html': true } });
>> data.wg.forEach(function (a) {
>> a.c[6].v = 'G';
>> });
>>
>> And the error I get is:
>>
>> Uncaught TypeError: Cannot read property 'forEach' of undefined
>> at :11:17
>>
>>
>>
>> It looks like the response has changed from *data.wg * to *data.Hg *?
>>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/af0f7e7b-1456-44a1-9ef9-78fb8a3da66c%40googlegroups.com.


[visualization-api] Re: Chart code suddenly stopped working

2020-02-11 Thread Jeff Johnson
JS charts suddenly stopped working for me as well.

Explicitly loading version 46 instead of current fixed things for us.

Version 47 though came out in January, why would this only start affecting 
people today?

On Monday, February 10, 2020 at 1:21:20 PM UTC-5, Dustin Saunders wrote:
>
> My JS for charts in my application suddenly stopped working.  Here's a 
> sample:
>
> data = new google.visualization.DataTable();
> data.addColumn('string', 'A');
> data.addColumn('string', 'B');
> data.addColumn('number', 'C');
> data.addColumn('number', 'D');
> data.addColumn('string', 'E');
> data.addColumn('string', 'F');
> data.addRows(chartData); 
> data.sort({ column: 2, desc: true });
> data.addColumn({ 'type': 'string', 'role': 'tooltip', 'p': { 
> 'html': true } });
> data.wg.forEach(function (a) {
> a.c[6].v = 'G';
> });
>
> And the error I get is:
>
> Uncaught TypeError: Cannot read property 'forEach' of undefined
> at :11:17
>
>
>
> It looks like the response has changed from *data.wg * to *data.Hg *?
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/9da91510-0cd6-451f-8349-0006706809f8%40googlegroups.com.