fix(dashboard): change color scheme for the electricity chart

This commit is contained in:
nixa 2017-09-19 17:29:03 +03:00
parent 4d516986b1
commit 84ddf24e64
3 changed files with 2 additions and 5 deletions

View file

@ -59,7 +59,6 @@ export const COSMIC_THEME = {
areaGradFrom: 'rgba(188, 92, 255, 0.5)',
areaGradTo: 'rgba(188, 92, 255, 0)',
areaOpacity: '1',
shadowLineDarkBg: '#a695ff',
},

View file

@ -51,9 +51,8 @@ export const DEFAULT_THEME = {
lineGradTo: '#42db7d',
lineShadow: 'rgba(0, 0, 0, 0)',
areaGradFrom: '#ebeef2',
areaGradTo: '#ebeef2',
areaOpacity: '0.5',
areaGradFrom: 'rgba(235, 238, 242, 0.5)',
areaGradTo: 'rgba(235, 238, 242, 0.5)',
shadowLineDarkBg: 'rgba(0, 0, 0, 0)',
},

View file

@ -153,7 +153,6 @@ export class ElectricityChartComponent implements AfterViewInit {
offset: 1,
color: eTheme.areaGradTo,
}]),
opacity: eTheme.areaOpacity,
},
},
data: this.data.map(i => i.value),