Merge pull request #2138 from mempool/nymkappa/bugfix/prediction-lablels

Fix block predition graph x axis labels
This commit is contained in:
wiz 2022-07-22 01:06:01 +02:00 committed by GitHub
commit 219694db8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -156,7 +156,7 @@ export class BlockPredictionGraphComponent implements OnInit {
type: 'category',
axisLine: { onZero: true },
axisLabel: {
formatter: val => formatterXAxisTimeCategory(this.locale, this.timespan, parseInt(val, 10)),
formatter: val => formatterXAxisTimeCategory(this.locale, this.timespan, parseInt(val, 10) * 1000),
align: 'center',
fontSize: 11,
lineHeight: 12,