• David Schnur's avatar
    Don't add padding when there's no last tick. · 1650c184
    David Schnur authored
    Flot 0.8 added logic to account for the size of axis tick labels and add
    padding around the edges of the plot, to prevent long labels from
    sticking out.  But it padded both sides equally, which is incorrect if
    the right/top side has no last axis label.
    
    Fixed by allocating padding per-side, and checking whether the last
    label would be shown before padding the top or right.  Fixes #1048.
    1650c184
Name
Last commit
Last update
examples Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
API.md Loading commit data...
CONTRIBUTING.md Loading commit data...
FAQ.md Loading commit data...
LICENSE.txt Loading commit data...
Makefile Loading commit data...
NEWS.md Loading commit data...
PLUGINS.md Loading commit data...
README.md Loading commit data...
component.json Loading commit data...
excanvas.js Loading commit data...
excanvas.min.js Loading commit data...
flot.jquery.json Loading commit data...
jquery.colorhelpers.js Loading commit data...
jquery.flot.canvas.js Loading commit data...
jquery.flot.categories.js Loading commit data...
jquery.flot.crosshair.js Loading commit data...
jquery.flot.errorbars.js Loading commit data...
jquery.flot.fillbetween.js Loading commit data...
jquery.flot.image.js Loading commit data...
jquery.flot.js Loading commit data...
jquery.flot.navigate.js Loading commit data...
jquery.flot.pie.js Loading commit data...
jquery.flot.resize.js Loading commit data...
jquery.flot.selection.js Loading commit data...
jquery.flot.stack.js Loading commit data...
jquery.flot.symbol.js Loading commit data...
jquery.flot.threshold.js Loading commit data...
jquery.flot.time.js Loading commit data...
jquery.js Loading commit data...
package.json Loading commit data...