Merge pull request #2138 from mempool/nymkappa/bugfix/prediction-lablels
Fix block predition graph x axis labels
This commit is contained in:
		
						commit
						219694db8b
					
				@ -156,7 +156,7 @@ export class BlockPredictionGraphComponent implements OnInit {
 | 
				
			|||||||
        type: 'category',
 | 
					        type: 'category',
 | 
				
			||||||
        axisLine: { onZero: true },
 | 
					        axisLine: { onZero: true },
 | 
				
			||||||
        axisLabel: {
 | 
					        axisLabel: {
 | 
				
			||||||
          formatter: val => formatterXAxisTimeCategory(this.locale, this.timespan, parseInt(val, 10)),
 | 
					          formatter: val => formatterXAxisTimeCategory(this.locale, this.timespan, parseInt(val, 10) * 1000),
 | 
				
			||||||
          align: 'center',
 | 
					          align: 'center',
 | 
				
			||||||
          fontSize: 11,
 | 
					          fontSize: 11,
 | 
				
			||||||
          lineHeight: 12,
 | 
					          lineHeight: 12,
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user