Hide bottom axis label for mempool and incoming tx charts on widgets

This commit is contained in:
nymkappa 2022-06-14 09:58:32 +02:00
parent e24efe7528
commit 9d20637dcb
No known key found for this signature in database
GPG Key ID: E155910B16E8BD04
2 changed files with 2 additions and 2 deletions

View File

@ -127,7 +127,7 @@ export class IncomingTransactionsGraphComponent implements OnInit, OnChanges {
}, },
xAxis: [ xAxis: [
{ {
name: formatterXAxisLabel(this.locale, this.windowPreference), name: this.template === 'widget' ? '' : formatterXAxisLabel(this.locale, this.windowPreference),
nameLocation: 'middle', nameLocation: 'middle',
nameTextStyle: { nameTextStyle: {
padding: [20, 0, 0, 0], padding: [20, 0, 0, 0],

View File

@ -319,7 +319,7 @@ export class MempoolGraphComponent implements OnInit, OnChanges {
}, },
xAxis: [ xAxis: [
{ {
name: formatterXAxisLabel(this.locale, this.windowPreference), name: this.template === 'widget' ? '' : formatterXAxisLabel(this.locale, this.windowPreference),
nameLocation: 'middle', nameLocation: 'middle',
nameTextStyle: { nameTextStyle: {
padding: [20, 0, 0, 0], padding: [20, 0, 0, 0],