From b347943e88324048cf06ca6f9e2274fff8b19172 Mon Sep 17 00:00:00 2001 From: Vladimir Lugovsky Date: Wed, 2 Mar 2016 13:18:28 +0300 Subject: [PATCH] feat(morris): transparent morris.js background --- src/app/pages/charts/morris/morris.module.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/pages/charts/morris/morris.module.js b/src/app/pages/charts/morris/morris.module.js index 21e1bef..4d7ee27 100644 --- a/src/app/pages/charts/morris/morris.module.js +++ b/src/app/pages/charts/morris/morris.module.js @@ -7,6 +7,7 @@ angular.module('BlurAdmin.pages.charts.morris', []) .config(routeConfig).config(function(){ + Morris.Donut.prototype.defaults.backgroundColor = 'transparent'; Morris.Donut.prototype.defaults.labelColor = 'rgba(255,255,255,0.8)'; Morris.Grid.prototype.gridDefaults.gridLineColor = 'rgba(255,255,255,0.8)'; Morris.Grid.prototype.gridDefaults.gridTextColor = 'rgba(255,255,255,0.8)';