Fix block predition graph x axis labels
This commit is contained in:
parent
88febf6262
commit
3dc37dc34d
@ -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