GraphNG: Fixed axis measurements (#29036)

This commit is contained in:
Torkel Ödegaard
2020-11-11 20:23:46 +01:00
committed by GitHub
parent c93dfeaac4
commit 367e7b861b

View File

@@ -102,7 +102,7 @@ function calculateAxisSize(self: uPlot, values: string[], axisIdx: number) {
let maxLength = values[0];
for (let i = 0; i < values.length; i++) {
if (values[i].length > maxLength.length) {
maxLength = maxLength;
maxLength = values[i];
}
}