HTML5 measureText cross-browser inconsistency #815

dnschnur opened this Issue Sep 28, 2012 · 1 comment

1 participant

Flot member

Original author: (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.



Original issue:

@dnschnur dnschnur was assigned Nov 3, 2012
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