diff --git a/vipra-ui/app/js/directives.js b/vipra-ui/app/js/directives.js index e84f8a019b78fd3da72e583bc7b84ae6eceea025..b41b9c9d6d59b050927625ca46f09cffd693010a 100644 --- a/vipra-ui/app/js/directives.js +++ b/vipra-ui/app/js/directives.js @@ -2,7 +2,7 @@ * Vipra Application * Directives ******************************************************************************/ -/* globals angular, Vipra, bootbox */ +/* globals angular, Vipra, bootbox, $ */ (function() { "use strict"; @@ -184,6 +184,10 @@ if ($attrs.shown) { $scope.$eval($attrs.shown); } + var hc = $($elem.data('target')).find('[highcharts]'); + if(hc.length) { + hc.highcharts().reflow(); + } }); } };