Dynamically resize the 24hr chart
This commit is contained in:
@ -529,5 +529,11 @@ $(document).ready(function() {
|
||||
|
||||
$(window).on('resize', function() {
|
||||
updatePercentageBar();
|
||||
|
||||
if (historyPlot) {
|
||||
historyPlot.resize();
|
||||
historyPlot.setupGrid();
|
||||
historyPlot.draw();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user