refactor(js themes): thinner border

This commit is contained in:
Sergey Andrievskiy 2019-06-21 14:16:49 +03:00
parent 5a55162d11
commit 17ac4df308
6 changed files with 6 additions and 6 deletions

View file

@ -66,7 +66,7 @@ export class ElectricityChartComponent implements AfterViewInit, OnDestroy {
position: 'top',
backgroundColor: eTheme.tooltipBg,
borderColor: eTheme.tooltipBorderColor,
borderWidth: 3,
borderWidth: 1,
formatter: '{c0} kWh',
extraCssText: eTheme.tooltipExtraCss,
},

View file

@ -87,7 +87,7 @@ export class TrafficChartComponent implements AfterViewInit, OnDestroy {
position: 'top',
backgroundColor: trafficTheme.tooltipBg,
borderColor: trafficTheme.tooltipBorderColor,
borderWidth: 3,
borderWidth: 1,
formatter: '{c0} MB',
extraCssText: trafficTheme.tooltipExtraCss,
},

View file

@ -80,7 +80,7 @@ export class OrdersChartComponent implements AfterViewInit, OnDestroy, OnChanges
position: 'top',
backgroundColor: eTheme.tooltipBg,
borderColor: eTheme.tooltipBorderColor,
borderWidth: 3,
borderWidth: 1,
formatter: (params) => {
return Math.round(parseInt(params.value, 10));
},

View file

@ -84,7 +84,7 @@ export class StatsAreaChartComponent implements AfterViewInit, OnDestroy {
position: 'top',
backgroundColor: trafficTheme.tooltipBg,
borderColor: trafficTheme.tooltipBorderColor,
borderWidth: 3,
borderWidth: 1,
formatter: '$ {c0}',
extraCssText: trafficTheme.tooltipExtraCss,
},

View file

@ -114,7 +114,7 @@ export class TrafficBarChartComponent implements AfterViewInit, OnDestroy, OnCha
position: 'top',
backgroundColor: trafficTheme.tooltipBg,
borderColor: trafficTheme.tooltipBorderColor,
borderWidth: 3,
borderWidth: 1,
formatter: this.formatter,
extraCssText: trafficTheme.tooltipExtraCss,
},

View file

@ -75,7 +75,7 @@ export class ECommerceVisitorsAnalyticsChartComponent implements AfterViewInit,
position: 'top',
backgroundColor: eTheme.tooltipBg,
borderColor: eTheme.tooltipBorderColor,
borderWidth: 3,
borderWidth: 1,
formatter: (params) => {
return Math.round(parseInt(params[0].value, 10));
},