Skip to content
Snippets Groups Projects
Commit 6fb6b19a authored by Eike Cochu's avatar Eike Cochu
Browse files

fixed highcharts hidden render with manual reflow

parent d098190f
No related branches found
No related tags found
No related merge requests found
......@@ -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();
}
});
}
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment