This worked for me as well, I inserted this function before me 
google.charts.load line. It  evidently rewrites the IE object assign 
function

        if (typeof Object.assign !== 'function') {
            // Must be writable: true, enumerable: false, configurable: true
            Object.defineProperty(Object, "assign", {
                value: function assign(target, varArgs) { // .length of 
function is 2
                    'use strict';
                    if (target === null || target === undefined) {
                        throw new TypeError('Cannot convert undefined or 
null to object');
                    }

                    var to = Object(target);

                    for (var index = 1; index < arguments.length; index++) {
                        var nextSource = arguments[index];

                        if (nextSource !== null && nextSource !== 
undefined) {
                            for (var nextKey in nextSource) {
                                // Avoid bugs when hasOwnProperty is 
shadowed
                                if 
(Object.prototype.hasOwnProperty.call(nextSource, nextKey)) {
                                    to[nextKey] = nextSource[nextKey];
                                }
                            }
                        }
                    }
                    return to;
                },
                writable: true,
                configurable: true
            });
        }

On Thursday, July 9, 2020 at 5:57:21 AM UTC-4, Takuma Hashimoto wrote:
>
> We also faced the issue. So we inserted Object.assign polyfill 
> <https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign#Polyfill>
>  just 
> in front of `google.charts.load(...)` and solved this.
>
> On Thursday, July 9, 2020 at 6:50:08 PM UTC+9 Tedd Mason wrote:
>
>> Our service is also having the same issue for internet explorer since 
>> yesterday.
>>
>>
>> On Thursday, 9 July 2020 10:47:02 UTC+1, Philippe Debrabant wrote:
>>>
>>> And trying to load a previous version don't work as the same 
>>> "Object.assign" code is called in 
>>> https://www.gstatic.com/charts/loader.js:90:18
>>>
>>> Le jeudi 9 juillet 2020 à 11:15:58 UTC+2, Philippe Debrabant a écrit :
>>>
>>>> Me too, "Object.assign" is not supported by Internet Explorer.
>>>>
>>>>
>>>> https://developer.mozilla.org/fr/docs/Web/JavaScript/Reference/Objets_globaux/Object/assign#Compatibilit%C3%A9_des_navigateurs
>>>>
>>>> Le jeudi 9 juillet 2020 10:28:20 UTC+2, Angelo Palumbo a écrit :
>>>>>
>>>>> Hi all, starting today Internet Explorer 11 returns the error "Object 
>>>>> doesn't support 'assign' property or method" when I try to create a line 
>>>>> chart with loader.js. Has ever happened to you?
>>>>>
>>>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/f13f1cbf-8c8e-4149-b34c-e4e75b0fe704o%40googlegroups.com.

Reply via email to