diff --git a/src/app/pages/dashboard/dashboardLineChart/DashboardLineChartCtrl.js b/src/app/pages/dashboard/dashboardLineChart/DashboardLineChartCtrl.js index ec60d63..29044ef 100644 --- a/src/app/pages/dashboard/dashboardLineChart/DashboardLineChartCtrl.js +++ b/src/app/pages/dashboard/dashboardLineChart/DashboardLineChartCtrl.js @@ -9,8 +9,8 @@ .controller('DashboardLineChartCtrl', DashboardLineChartCtrl); /** @ngInject */ - function DashboardLineChartCtrl(layoutColors, layoutPaths, baUtil) { - var graphColor = layoutColors.primary; + function DashboardLineChartCtrl(layoutColors, layoutPaths, layoutTheme, baUtil) { + var graphColor = layoutTheme.blur ? '#000000' : layoutColors.primary; var chartData = [ { date: new Date(2012, 11), value: 0, value0: 0 }, { date: new Date(2013, 0), value: 15000, value0: 19000}, diff --git a/src/app/pages/dashboard/trafficChart/TrafficChartCtrl.js b/src/app/pages/dashboard/trafficChart/TrafficChartCtrl.js index 682a23e..644b82b 100644 --- a/src/app/pages/dashboard/trafficChart/TrafficChartCtrl.js +++ b/src/app/pages/dashboard/trafficChart/TrafficChartCtrl.js @@ -9,7 +9,9 @@ .controller('TrafficChartCtrl', TrafficChartCtrl); /** @ngInject */ - function TrafficChartCtrl(layoutColors, $scope) { + function TrafficChartCtrl($scope, layoutColors, layoutTheme) { + + $scope.transparent = layoutTheme.blur; var palette = layoutColors.bgColorPalette; $scope.doughnutData = [ { diff --git a/src/app/pages/dashboard/trafficChart/trafficChart.html b/src/app/pages/dashboard/trafficChart/trafficChart.html index 048f51b..1e10e5b 100644 --- a/src/app/pages/dashboard/trafficChart/trafficChart.html +++ b/src/app/pages/dashboard/trafficChart/trafficChart.html @@ -1,4 +1,4 @@ -