Looks like we should be able to work around it by killing the left-over DOM 
elements ourselves, and/or reusing the chart object where practical.

Thanks for the feedback
Steve

On Friday, 16 March 2018 15:27:35 UTC, Daniel LaLiberte wrote:
>
> OK, I guess that is a bug specifically for the material charts.  This 
> might apply to other non-corecharts as well.   
>
> As you can probably tell, support for clearChart() evolved over the years, 
> and most applications have no need for it at all, so it hasn't been well 
> tested.
>
> On Fri, Mar 16, 2018 at 11:16 AM, Steve Davies <[email protected] 
> <javascript:>> wrote:
>
>> The non-material (Pie) charts seem to clear up their displays fully, 
>> which is where I got the expectation that they would all do so.
>>
>> On Friday, 16 March 2018 15:13:01 UTC, Daniel LaLiberte wrote:
>>>
>>> Yes, clearChart() doesn't actually delete the display of a previously 
>>> rendered chart, although perhaps it should since you can no longer interact 
>>> with it, or programmatically do anything with the chart object except to 
>>> draw another rendering of the chart.
>>>
>>> [snip]
>>>
>>  
>>
>>> -- 
>>> Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
>>> [email protected]   5CC, Cambridge MA
>>>
>> -- 
>>
> -- 
> Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
> [email protected] <javascript:>   5CC, 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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/7fce8173-f7e9-4065-8881-8fbcdd3934da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to