Hi Dustin,

If you are using internal properties of the DataTable instance, they are
certain to be changed with each new release, so you should try to find
another way to achieve your goal that only uses the public API.  Even old
releases might need to be updated, although we would be more likely to
update the loader to redirect to newer releases.  Either way, your
non-standard usage would be broken by the update.

On Mon, Feb 10, 2020 at 1:21 PM Dustin Saunders <dustinsaund...@gmail.com>
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 <anonymous>: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/801c122f-c231-4f6b-abaf-25ec9a6d099a%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/801c122f-c231-4f6b-abaf-25ec9a6d099a%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
dlalibe...@google.com <dlalibe...@google.com>   Cambridge 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/CAOtcSJN6DYL0HOYnesQEcJ3U%2BfxECkTH-1A-pJoY%3Dzr%2BHr3tiQ%40mail.gmail.com.

Reply via email to