Show less ticks in charts (#9279)

This commit is contained in:
Bram Kragten 2021-05-28 10:16:37 +02:00 committed by GitHub
parent 19c9c8f227
commit c8c85d096b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -377,6 +377,7 @@ class StateHistoryChartLine extends LocalizeMixin(PolymerElement) {
major: { major: {
fontStyle: "bold", fontStyle: "bold",
}, },
autoSkipPadding: 20,
}, },
}, },
], ],

View File

@ -236,10 +236,13 @@ class StateHistoryChartTimeline extends LocalizeMixin(PolymerElement) {
major: { major: {
fontStyle: "bold", fontStyle: "bold",
}, },
autoSkipPadding: 50,
}, },
categoryPercentage: undefined, categoryPercentage: undefined,
barPercentage: undefined, barPercentage: undefined,
time: { format: undefined }, time: {
format: undefined,
},
}, },
], ],
yAxes: [ yAxes: [