Ive had a user complain to me about the fact that some of the axis titles are now placed off the screen since version 6.10. This occurs when you have large numbers on the Y-axis, but was not evident in version 6.08 (although here you would have occasional overlap, but you could at least see the label.) Any suggestions on how to fine tune this algorithm, or automatically adjust the axis labels, or the size of the frame?
There is now an automatic placement of the Y axis title when the title offset is 0 (now the default)
The maximale length of the Y labels is looked and the Y axis title is placed accordingly.
I can image that in some case like the one this optimization is not optimale. Setting the Y axis title offset to a non 0 value will cure this.
This means I will have to write a different algorithm to determine the placement of the labels as the current one doesn’t work in all cases. Can you point me to where the current automatic placement algorithm is so I have a starting point? Could we simply change the current algorithm such that the offset is not so large that it is placed off the pad? Something along the lines of this in pseudo code?
Ahh ok, you can switch the algorithms (the old behavior was just a default value). I didn’t understand that at first. The documentation doesn’t make this clear as it hasn’t changed between versions. It even states that the default is 1:
I still think that placing the label off the pad isn’t a great idea as default behavior (even if it is only for some cases). Also, is this behavior different for X-axis and Y-axis?