coder
coder

Reputation: 558

labels overlapping in oxyplot c# wpf

I've created a plot in oxyplot that has a DateTimeAxis. My problem is that the labels are overlapping eachother which makes everything look really messy. Does anyone know if there is a way to solve this problem?

I've tried this solution: Oxyplot: Prevent X-Axis label from overlapping but it doesn't work. Instead the whole axis disappeared.

Upvotes: 0

Views: 783

Answers (1)

boop_the_snoot
boop_the_snoot

Reputation: 3257

The DateTime here is long. Try to split the labels in the format Date + \n + Time . Thus Date & Time would get stacked below one another.

I'm glad it worked out for u :)

Upvotes: 2

Related Questions