feat(morris): transparent morris.js background

pull/3/head
Vladimir Lugovsky 9 years ago
parent 9c761a153e
commit b347943e88

@ -7,6 +7,7 @@
angular.module('BlurAdmin.pages.charts.morris', []) angular.module('BlurAdmin.pages.charts.morris', [])
.config(routeConfig).config(function(){ .config(routeConfig).config(function(){
Morris.Donut.prototype.defaults.backgroundColor = 'transparent';
Morris.Donut.prototype.defaults.labelColor = 'rgba(255,255,255,0.8)'; 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.gridLineColor = 'rgba(255,255,255,0.8)';
Morris.Grid.prototype.gridDefaults.gridTextColor = 'rgba(255,255,255,0.8)'; Morris.Grid.prototype.gridDefaults.gridTextColor = 'rgba(255,255,255,0.8)';

Loading…
Cancel
Save