Skip to content
Snippets Groups Projects
Commit 65bd59a8 authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

Task #8887: initially hide total capacity

parent aa93a30f
No related branches found
No related tags found
No related merge requests found
......@@ -209,7 +209,7 @@ chartResourceUsageControllerMod.controller('ChartResourceUsageController', ['$sc
series.events = { legendItemClick: function() { self.seriesVisibilityCache[this.name] = !this.visible; }};
$scope.chartSeries.push(series);
}
series.visible = self.seriesVisibilityCache.hasOwnProperty(series.name) ? self.seriesVisibilityCache[series.name] : true;
series.visible = self.seriesVisibilityCache.hasOwnProperty(series.name) ? self.seriesVisibilityCache[series.name] : false;
series.data = [[timestamps[0].getTime(), resource.total_capacity],
[timestamps[timestamps.length-1].getTime(), resource.total_capacity]]
expectedSeriesNames.push('total capacity');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment