• David Schnur's avatar
    Enforce left-to-right canvas layout orientation. · d7c58b59
    David Schnur authored
    When the placeholder has (or inherits) the HTML 'dir' attribute or CSS
    'direction' we get unexpected results from text metrics, resulting in
    visual glitches on the axes.
    
    The suggested solution in #716 was to set ltr on the placeholder, but
    this introduces its own problems, since the user probably *does* expect
    rtl on items like the legend.  So we'll instead set ltr only on the
    canvases.
    
    We should review this behavior at some point; rtl is something we need
    to handle, not work around.  It also needs to be kept in mind as we move
    canvas-text into a plugin.  But for now this solution at least ensures
    consistent behavior.
    d7c58b59
Name
Last commit
Last update
examples Loading commit data...
.gitignore 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...
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.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...