Hide bottom axis label for mempool and incoming tx charts on widgets
This commit is contained in:
		
							parent
							
								
									e24efe7528
								
							
						
					
					
						commit
						9d20637dcb
					
				@ -127,7 +127,7 @@ export class IncomingTransactionsGraphComponent implements OnInit, OnChanges {
 | 
			
		||||
      },
 | 
			
		||||
      xAxis: [
 | 
			
		||||
        {
 | 
			
		||||
          name: formatterXAxisLabel(this.locale, this.windowPreference),
 | 
			
		||||
          name: this.template === 'widget' ? '' : formatterXAxisLabel(this.locale, this.windowPreference),
 | 
			
		||||
          nameLocation: 'middle',
 | 
			
		||||
          nameTextStyle: {
 | 
			
		||||
            padding: [20, 0, 0, 0],
 | 
			
		||||
 | 
			
		||||
@ -319,7 +319,7 @@ export class MempoolGraphComponent implements OnInit, OnChanges {
 | 
			
		||||
      },
 | 
			
		||||
      xAxis: [
 | 
			
		||||
        {
 | 
			
		||||
          name: formatterXAxisLabel(this.locale, this.windowPreference),
 | 
			
		||||
          name: this.template === 'widget' ? '' : formatterXAxisLabel(this.locale, this.windowPreference),
 | 
			
		||||
          nameLocation: 'middle',
 | 
			
		||||
          nameTextStyle: {
 | 
			
		||||
            padding: [20, 0, 0, 0],
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user