The problem is with the loader itself, since the compiler implicitly uses
Object.assign when compiling code like settings = {...settings}. This
was unexpected (by me) but I believe I will have a fix in a couple hours.
On Thu, Jul 9, 2020 at 12:03 PM 'Cliff' via Google Visualization API <
[email protected]> wrote:
> Thanks Dan. It worked.
>
> On Thursday, July 9, 2020 at 9:27:34 AM UTC-4, Cliff wrote:
>>
>> Hello,
>>
>> I''m working on an application using AnnotationCharts that has been
>> running very well for some time now in Chrome, Edge, Firefox, Internet
>> Explorer, and Opera browsers. Yesterday it worked as expected in all
>> browsers.
>> Today, it no longer works in the Internet Explorer, but still works
>> correctly in the other 4 browsers. It does not render at all in IE. The
>> intended chart area is blank. I generate a program in my code, write it
>> out, and execute
>> it in an iframe. The code I'm writing out that works in the 4 browsers,
>> but not IE follows.
>>
>>
>> <HTML>
>>
>> <HEAD>
>>
>> <SCRIPT TYPE='text/javascript' SRC='
>> https://www.gstatic.com/charts/loader.js'></SCRIPT>
>>
>>
>>
>> <SCRIPT TYPE='text/javascript'>
>>
>> google.charts.load('current',
>> {'packages':['annotationchart']});
>>
>> google.charts.setOnLoadCallback(drawChart);
>>
>>
>>
>> function drawChart() {
>>
>> var data = new google.visualization.DataTable();
>>
>>
>> data.addColumn('date', 'Date');
>>
>> data.addColumn('number', 'State');
>>
>> data.addColumn('string', 'title1');
>>
>> data.addColumn('string', 'text1');
>>
>> data.addRows([ [new
>> Date(1997,0,1), 61.0, undefined, undefined],
>>
>> [new Date(1999,0,1), 67.1, undefined, undefined],
>>
>> [new Date(2001,0,1), 64.5, undefined, undefined],
>>
>> [new Date(2003,0,1), 67.5,'Funding Approved','The Universal Coverage Act
>> funding is allocated.'],
>>
>> [new Date(2003,0,15), 67.5,'Insurance For All','The Universal Coverage
>> Act of 2003 is proposed.'],
>>
>> [new Date(2003,2,15), 67.5,'Insurance Finally','The Universal Coverage
>> Act of 2003 passes.'],
>>
>> [new Date(2004,1,1), 67.5,'Funding Begins','The Universal Coverage Act
>> funding of 2003 begins with a bang.'],
>>
>> [new Date(2005,0,1), 69.2, undefined, undefined]
>> ]);
>>
>>
>> var chart = new
>> google.visualization.AnnotationChart(document.getElementById('chart_div'));
>>
>>
>> chart.draw(data, {displayAnnotations: true,
>> displayZoomButtons: false, allValuesSuffix: "'%", fill: 40, thickness: 1,
>> colors:['#809FFF'], displayRangeSelector: false});
>>
>> }
>>
>> </SCRIPT>
>>
>> </HEAD>
>>
>> <BODY>
>>
>>
>>
>> <DIV ID='chart_div'
>> STYLE='WIDTH:800px;HEIGHT:380px;POSITION:relative;LEFT:1.5%;OVERFLOW:HIDDEN;'>
>>
>>
>>
>> </DIV>
>>
>>
>>
>> </BODY>
>>
>> </HTML>
>>
>>
>> Any help is appreciated. Thanks,
>>
>> Cliff
>>
>> --
> 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/41a12cf0-3b56-44c6-9f99-47ba3709ec4bo%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/41a12cf0-3b56-44c6-9f99-47ba3709ec4bo%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
--
Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
[email protected] <[email protected]> Cambridge 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 view this discussion on the web visit
https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJMQ-hB7-H3N6LfxQ2S15EON_wYeOM84Otbb94BwjYC5Pg%40mail.gmail.com.