Highcharts / jQuery - destroy and rebuild chart with original options
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Based on info in this thread: Implement own state - INACTIVE_STATE? I have built a chart that fits my needs - jsfiddle I added some custom controls to allow the user to show/hide all series and to check/uncheck all series. These all work fine. The last part that I want to do is allow the user to reset the chart with the original options. This part I also got working, but there is a problem: once the chart is rebuilt, the functions that allow the user to show/hide/check/uncheck no longer work because I have destroyed and re-specified the