angular.js - How to actively call resize in highchart/ng-grid
漂亮男人2017-05-15 16:53:42
0
1
694
I placed highcharts and ng-grid in tabset using angular-ui
After actively resizing the window, the sizes of highcharts and ng-grid can be resized. How to actively call the resize method of highcharts and ng-grid when clicking tab?
The current solution is: actively timeout to trigger the resize event of the window when switching tabs. This can solve the problem but it feels very uncomfortable. If there is a good method, everyone is welcome to help!
The current solution is: actively timeout to trigger the resize event of the window when switching tabs. This can solve the problem but it feels very uncomfortable. If there is a good method, everyone is welcome to help!