You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On jquery.flot.js, function measureTickLabels, the following if statement if (!t.label || (showMajorTickLabels === false && i > 0 && i < ticks.length - 1) || (showEndpointsTickLabels === false && (i === 0 || i === ticks.length - 1))) { continue; }
ignores the first and last ticks when showEndpointsTickLabels is false.
The default opts.showTickLabels is "major", so showEndpointsTickLabels becomes false.
A plot with the last tick having a longer text gets clipped.
The same problem happens with axes with only one or two tick labels, such as the horizontal axis of a barchart with a single bar.
The text was updated successfully, but these errors were encountered:
On jquery.flot.js, function measureTickLabels, the following if statement
if (!t.label || (showMajorTickLabels === false && i > 0 && i < ticks.length - 1) || (showEndpointsTickLabels === false && (i === 0 || i === ticks.length - 1))) { continue; }
ignores the first and last ticks when showEndpointsTickLabels is false.
The default opts.showTickLabels is "major", so showEndpointsTickLabels becomes false.
A plot with the last tick having a longer text gets clipped.
The same problem happens with axes with only one or two tick labels, such as the horizontal axis of a barchart with a single bar.
The text was updated successfully, but these errors were encountered: