highslide-software/highcharts.com — Issue #536: Highstocks fails to destroy itself properly when calling destroy()
Author: klh
Created: 2011-10-31 08:23:33+00:00
State: open

REplicate like this:

Use jquery.ui.dialog (as a modal).

1st button on page: launches a modal popup to show the stock in a modal popup -
close the popup - destroy the chart on close.

2nd button on page:
reopen the modal and tadaaaa your chart is there again.

The current fix is to destroy the Highcharts DOM object (Highcharts=false) - and re-init highcharts -which sucks