Merge pull request #2153 from knorrium/knorrium/241_cherry_pick2

Fix block predition graph x axis labels
This commit is contained in:
wiz
2022-07-23 16:14:09 +02:00
committed by GitHub

View File

@@ -143,7 +143,7 @@ export class BlockPredictionGraphComponent implements OnInit {
boundaryGap: false,
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,