Overlapping labels.

Oystein Bjorke vor 10 Jahren 0
This discussion was imported from CodePlex

Nihau wrote at 2014-01-27 05:30:

Hi everyone who is reading this thread.

I was surfing "oxyplot example browser" and saw this:
Image
My question is how do i remove overlapping of labels? Of course i can thin out every 2,3,4.. etc label, but this solution requires proper event. How to deal with it?

objo wrote at 2014-01-27 15:18:

I think this should be implemented in the CategoryAxis. If a category is too narrow, it should not show the label for each item.
I added
https://oxyplot.codeplex.com/workitem/10121

You can workaround by subscribing to AxisChanged events and finding the category width yourself, but I think it is easier to fix this in the CategoryAxis!

Nihau wrote at 2014-01-28 09:50:

Oh, wow!

Thank you for adding issue, can't wait this to be fixed.