GraphNG: Fixed axis measurements (#29036)

This commit is contained in:
Torkel Ödegaard authored and GitHub committed 2020-11-11 20:23:46 +01:00
1 parent c93dfeaac4
commit 367e7b861b
1 file changed
+1 -1
@@ -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];
}
}