UI tweaking for tables, cleaner layout

This commit is contained in:
Colin McLeod
2015-05-25 22:49:59 -07:00
parent c74a5750b9
commit c75b13aaef
12 changed files with 67 additions and 55 deletions

View File

@@ -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,