Axis displayed min and max tick labels

Oystein Bjorke fa 10 anys 0
This discussion was imported from CodePlex

Slxe wrote at 2014-07-09 20:53:

Hey, was wondering if there's a way to have an Axis always show it's visible min and max tick labels, regardless of it being a minor or major tick, just to have a number always displayed on the edges of it. Didn't really notice anything besides implementing it myself in a custom axis.

As a shitty example, here's a picture altered in paint, red and purple ticks and labels being two different ideas for where to show the visible min and maxes.
Image

objo wrote at 2014-07-10 12:26:

Yes, this could be a new feature. But should the labels be at the ends of the axes (including 'padding') or at the most extreme value (excluding 'padding')?
If the most extreme value should be used, should it take the maximum/minimum of all series using that axis? What about the formatting - should it use the same formatting string as for the other labels, or have its own formatting string?
I have added https://oxyplot.codeplex.com/workitem/10229

Slxe wrote at 2014-07-10 15:59:

Hmmm some good points. It should definitely have some kind of subtle unique formatting (even just bolded), although it can be changed by the user ofc. As for where it should show up, I was originally thinking including padding, but actually might be better if it's on the min/max of the axes line itself, that way it doesn't interfere with other tick marks and their labels?