Page 1 of 1

Arction margin/axis title calculations

Posted: Fri Jan 15, 2016 9:31 pm
by cwodarczyk82
I am currently noticing a visual issue with the tick marks overlapping the y axis title... I have checked the code to see that AutoAdjustMargins is enabled to true, but this is the view I sometimes see:
YAxisTitle.PNG
YAxisTitle.PNG (7.85 KiB) Viewed 6268 times
However, it isn't happening all the time, sometimes it looks fine:
YAxisTitleGood1.png
YAxisTitleGood1.png (7.57 KiB) Viewed 6268 times
I noticed that the items appear ok when the top item is larger, i.e, it looks like left aligned or something based on the top tick item, and ignores the rest of the items? Or maybe I am just seeing things... is there any way to correct this, or is something else at play here?

Thanks
--Chris

Here are some more examples that make me think it is something with alignment at the top:
YAxisTitle2.PNG
YAxisTitle2.PNG (7.34 KiB) Viewed 6268 times

Re: Arction margin/axis title calculations

Posted: Fri Jan 15, 2016 9:33 pm
by cwodarczyk82
I will also mention I am using CustomTicks here, not auto formatted labels or MajorDivs....

Re: Arction margin/axis title calculations

Posted: Mon Jan 18, 2016 1:41 am
by cwodarczyk82
Hi, in order to fix this for the time being, I just check all the tick marks, and fix any of them are not the first/last label, and they have a fractional part, I force all labels to be formatted with 1 decimal point... this seems to work fine now:
FixedMarks.PNG
FixedMarks.PNG (10.43 KiB) Viewed 6263 times