score:2

Accepted answer

option 1) Just make sure you still specify "renderTo:'container'" in the chart properties. Or, if you don't want to include in the initial chart code, add it to the options in your forceReset function.

option 2) in your forceReset function, use the same '$('#container').Highcharts...' syntax to call your chart, rather than switching back to the other syntax

example of option 2: 

http://jsfiddle.net/5pa7N/8/

{{edit option 3:

  • set options variable up front.
  • call chart on page load using that variable.
  • reload chart using that variable

http://jsfiddle.net/eYmh9/


Related Query

More Query from same tag