mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-10 07:05:35 +00:00
Minor bar chart UI tweak
This commit is contained in:
@@ -65,7 +65,7 @@ angular.module('app').directive('barChart', ['$window', '$translate', '$rootScop
|
|||||||
var data = scope.data,
|
var data = scope.data,
|
||||||
width = element[0].offsetWidth,
|
width = element[0].offsetWidth,
|
||||||
w = width - margin.left - margin.right,
|
w = width - margin.left - margin.right,
|
||||||
height = 45 + (30 * data.length * $rootScope.sizeRatio),
|
height = 50 + (30 * data.length * $rootScope.sizeRatio),
|
||||||
h = height - margin.top - margin.bottom,
|
h = height - margin.top - margin.bottom,
|
||||||
maxVal = d3.max(data, function(d) { return d3.max(properties, function(p) {return d[p]; }); });
|
maxVal = d3.max(data, function(d) { return d3.max(properties, function(p) {return d[p]; }); });
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user