mirror of
https://github.com/grafana/grafana.git
synced 2025-02-20 11:48:34 -06:00
GraphNG: Fixed axis measurements (#29036)
This commit is contained in:
parent
c93dfeaac4
commit
367e7b861b
@ -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];
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user