jquery - How to delete graph on click -
here highchart custom button code want close graph on click of custom button.
exporting: { buttons: { custombutton: { x: -62, onclick: function () { alert("i want delete graph here"); }, symbol: 'circle' } } }
in documentation, there method destroy() jsfiddle example : http://api.highcharts.com/highcharts#chart.destroy
exporting: { buttons: { custombutton: { x: -62, onclick: function () { chart.destroy(); }, symbol: 'circle' } } }
Comments
Post a Comment