2013-02-18 3 views

답변

1
var btn = $('#btn'); 
btn.click(function(){ 
    chart.optionsMarginTop += 20; 
    chart.isDirtyBox = true; // this makes your chart redraw 
    chart.redraw(); 
}); 

Demo

+0

그래, 바로 그거야! 멋진 속성 :) (isDirtyBox 및 isDirtyLegend) –

0

이 사람은 나를 위해 일한 :

const chart = $("#container").highcharts(); 
chart.options.chart.marginTop = 100; 
chart.isDirtyBox = true; 
chart.redraw();