From 185223bffd905a724d1a35e0bcb9483dc83ec18a Mon Sep 17 00:00:00 2001 From: nymkappa Date: Tue, 19 Jul 2022 08:00:11 +0200 Subject: [PATCH] Fix block predition graph x axis labels --- .../block-prediction-graph/block-prediction-graph.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/components/block-prediction-graph/block-prediction-graph.component.ts b/frontend/src/app/components/block-prediction-graph/block-prediction-graph.component.ts index fe5a9f40c..17592ad77 100644 --- a/frontend/src/app/components/block-prediction-graph/block-prediction-graph.component.ts +++ b/frontend/src/app/components/block-prediction-graph/block-prediction-graph.component.ts @@ -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,