jQuery UI Tabs and Highcharts display/rendering issue

前端 未结 13 2342
长发绾君心
长发绾君心 2020-12-28 18:57

Anyone ever used the tabs (jquery-ui-1.8.9) and pie charts from Highcharts 2.1.4 together? To put it simply, I have multiple tabs, where each tab s

13条回答
  •  独厮守ぢ
    2020-12-28 19:13

    The best solution is in callback function of tabs or when click on each tab, reflow highchart. Look at it:

    Chart.reflow and this link jsfiddle and also this code that you have add in tab callback:

    $('#chart-1').highcharts().reflow();
    

提交回复
热议问题