Calling chart.clearChart() should properly clean up all of the chart
elements. However, it would then be up to you to dispose of the container
div in whatever way you see fit.

On Tue, Oct 6, 2015 at 9:35 AM Vishal Joshi <[email protected]> wrote:

> I have implemented the drill down functionality of google charts. On Main
> chart when you click on a certain bar, it displays second chart. On Second
> chart, when you click it opens a third chart.
>
>
> Now, when i have 3 charts on the screen and I go and click on different
> bar of the Main chart my second chart is getting updated with latest data,
> but in this case i want to completely remove the third chart which is being
> displayed as it has data from old flow.
>
>
> Can someone please let me know the command that i can use to remove the
> chart? I don't want to play with div show/ hide. I want to completely
> remove the chart created.
>
> --
> 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
> http://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/4f938ba3-af34-472c-9e63-09af8ecdab83%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/4f938ba3-af34-472c-9e63-09af8ecdab83%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 http://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup71mqHgqQYsdSSesWaaJ3K7oxcEWQAE72AiPPa_m1sM3g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to