Hello I have a problem with highstocks when using jquery tabs.
this is the code for the constructor.
Chart = new Highcharts.StockChart({
Chart = new Highcharts.StockChart({
chart: {
renderTo:
'Container',
alignticks:false
},
xAxis: { .......... },
yAxis: [{ ....... }],
series : [{ .......... }]
});
The Container has only half the width of the whole page.
When the page is loaded to the tab containing the graph, then its width is rendered correctly. But when the page is loaded first to another tab, then its width spans the whole width of the page, overlapping with other things on the page. So the page has to be refreshed in order to fix this.
Does anyone have a solution to this?
chart.reflow()
method. – Audraaudras