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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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];
}
}