HTML5 measureText cross-browser inconsistency #815

Closed
dnschnur opened this Issue Sep 28, 2012 · 1 comment

1 participant

@dnschnur
Flot member

Original author: sanak...@gmail.com (August 13, 2012 23:27:44)

measureText does not calculate the width of the labels properly, resulting in odd overlapping and clipping on the right-hand side under certain circumstances.

For example, the included flot multiple axes example.

I've attached a sample solution through the use of the DOM to measure, since it is more reliable.

I'll also make a pull request on github with this fix.

Cheers,

Jeff

Original issue: http://code.google.com/p/flot/issues/detail?id=736

@dnschnur dnschnur was assigned Nov 3, 2012
@dnschnur
Flot member

We've reverted to using HTML text by default, resolving this issue.

@dnschnur dnschnur closed this Mar 3, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment