Merge pull request #2186 from mempool/nymkappa/bugfix/remove-1mb-node-capacity
[Node page] Remove node chart 1mb line and fix y axis
This commit is contained in:
		
						commit
						b2321495d8
					
				| @ -169,9 +169,6 @@ export class NodeStatisticsChartComponent implements OnInit { | |||||||
|       }, |       }, | ||||||
|       yAxis: data.channels.length === 0 ? undefined : [ |       yAxis: data.channels.length === 0 ? undefined : [ | ||||||
|         { |         { | ||||||
|           min: (value) => { |  | ||||||
|             return value.min * 0.9; |  | ||||||
|           }, |  | ||||||
|           type: 'value', |           type: 'value', | ||||||
|           axisLabel: { |           axisLabel: { | ||||||
|             color: 'rgb(110, 112, 121)', |             color: 'rgb(110, 112, 121)', | ||||||
| @ -188,9 +185,6 @@ export class NodeStatisticsChartComponent implements OnInit { | |||||||
|           }, |           }, | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|           min: (value) => { |  | ||||||
|             return value.min * 0.9; |  | ||||||
|           }, |  | ||||||
|           type: 'value', |           type: 'value', | ||||||
|           position: 'right', |           position: 'right', | ||||||
|           axisLabel: { |           axisLabel: { | ||||||
| @ -225,15 +219,6 @@ export class NodeStatisticsChartComponent implements OnInit { | |||||||
|               opacity: 1, |               opacity: 1, | ||||||
|               width: 1, |               width: 1, | ||||||
|             }, |             }, | ||||||
|             data: [{ |  | ||||||
|               yAxis: 1, |  | ||||||
|               label: { |  | ||||||
|                 position: 'end', |  | ||||||
|                 show: true, |  | ||||||
|                 color: '#ffffff', |  | ||||||
|                 formatter: `1 MB` |  | ||||||
|               } |  | ||||||
|             }], |  | ||||||
|           } |           } | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user