Hi i have left navigation menu, and content on right side which is a highchart. Following is my Highchart config,
this.InputData = {
chart: { type: 'column' },
title : { text : 'Overview' },
xAxis: {
categories: this._weekValues
},
yAxis: {
allowDecimals: false,
title: { text: 'some title'},
min: 0,
max: 100,
labels: {
formatter:function() {
var pcnt = (this.value / 100) * 100;
return Highcharts.numberFormat(pcnt, 0) + '%';
}
}
}
}
And I have a function which will be triggered on change the size of my left menu,
this.menuEvent.onChangeLeftMenu().subscribe(()=>{
Observable.timer().subscribe(()=>{
console.log('highchart redraw?');
});
});
How can I redraw
or resize my chart on changing my leftmenu size? Currently the chart is overflowing from my div wrapper. Thanks in advance guys.