Closed gioppoluca closed 8 years ago
This is why a timeout of 1 second was given in https://github.com/CloudOpting/cloudopting-manager/blob/master/rest-component/src/main/webapp/scripts/app/service/monitoring/monitoring.controller.js
Add something like:
$timeout(function () {
$("#itemSelected").empty();
lineChartZabb($scope.zabbixgraph, "itemSelected");
}, 1000);
We generate graph from elasticsearch dynamically but the problem is that morris.js does not find the ele,ments since angular has not yet created them we need to move the morris generation after we generate the element or we will have problems in visualization