mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-09 06:43:24 +00:00
UI tweaking for tables, cleaner layout
This commit is contained in:
@@ -10,8 +10,9 @@ angular.module('app').directive('areaChart', function () {
|
||||
width: '='
|
||||
},
|
||||
link: function(scope, element) {
|
||||
var width = scope.width,
|
||||
height = scope.height,
|
||||
console.log(element[0].parentElement);
|
||||
var width = element[0].parentElement.offsetWidth,
|
||||
height = width * 0.6,
|
||||
series = scope.series,
|
||||
config = scope.config,
|
||||
labels = config.labels,
|
||||
|
||||
Reference in New Issue
Block a user