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
When using HTML rendered axis labels, the width property that was present in 0.7 is missing in 0.8. This prevents multiline text for HTML rendered axis labels. Screenshots showing attached.
The text was updated successfully, but these errors were encountered:
I revisited the 0.7 source and confirmed that this is indeed a regression. The width was set as an optimization to avoid having to measure individual labels. I didn't realize that it also had the side-effect of enabling multi-line text, and left that code out when reworking the text internals for 0.8.
I'm almost done with a patch to restore the old behavior. I'll need to spend a little time testing, but should have it merged by this weekend.
Flot 0.7 calculated x-axis label dimensions by assigning each label a
fixed width, then measuring the height as determined by the browser. A
side-effect of this technique is that x-axis label divs received a fixed
width. The rewrite of the text system in 0.8 accidentally removed this
feature; this patch restores it.
When using HTML rendered axis labels, the width property that was present in 0.7 is missing in 0.8. This prevents multiline text for HTML rendered axis labels. Screenshots showing attached.
The text was updated successfully, but these errors were encountered: