I am building a prototype that uses High charts - Data defined in a HTML table, I have applied an editable feature using jQuery so that the cells can be edited by the user.
The issue is that you were not defining your chart in:
$("#refresh").click(function() {
var options = chart.options;
chart = new Highcharts.Chart(options);
});
Try defining it before you call the new HighCharts code:
$("#refresh").click(function () {
var chart = $('#container').highcharts();
var options = chart.options;
chart = new Highcharts.Chart(options);
});
See example here.
Also note you have some invalid syntax in the tooltip as well as some dangling commas.