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
Between flot-library 0.7 and 0.8 the sizing-behaviour of a flot-chart changed.
With flot 0.7 the chart had a width of 100% of it's container (with x-axis and also without x-axis). As a result it could have happened, that the tick-labels of the x-axis were cut (but that was OK for me). With the new version, the chart does not have a width of 100% when showing the x-axis and tick-labels, but when the x-axis is hidden. I think this is for ensuring, that the tick-labels will always be shown completely!?
Could this behaviour be "user-changed" by a parameter? A good option for me would be, that I could say "only draw tick-labels which do not cross the border". Anything like this...
Please find also a discussion here: https://groups.google.com/forum/?fromgroups=#!topic/flot-graphs/FTI7A8IpHMw
The text was updated successfully, but these errors were encountered:
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. Fixesflot#1048.
I had to roll back the change that resolved this issue, since it broke wrapping behavior for ticks near the right edge of a plot. I've pushed a work-around, described in #1212, that provides the same effect; it just requires that you set reserveSpace to false on the axis.
We'll implement a proper solution for all of this in 0.9.
Between flot-library 0.7 and 0.8 the sizing-behaviour of a flot-chart changed.
With flot 0.7 the chart had a width of 100% of it's container (with x-axis and also without x-axis). As a result it could have happened, that the tick-labels of the x-axis were cut (but that was OK for me). With the new version, the chart does not have a width of 100% when showing the x-axis and tick-labels, but when the x-axis is hidden. I think this is for ensuring, that the tick-labels will always be shown completely!?
Could this behaviour be "user-changed" by a parameter? A good option for me would be, that I could say "only draw tick-labels which do not cross the border". Anything like this...
Please find also a discussion here: https://groups.google.com/forum/?fromgroups=#!topic/flot-graphs/FTI7A8IpHMw
The text was updated successfully, but these errors were encountered: