Rotate title of a LinearAxis

Aug 22, 2012 at 12:15 PM

Hi

I am really new to your great OxyPlot.

I have a plot with more than one horizontal axes. Some of them are very small and the titles on the left side are clipped. How can I rotate the titles so that they are horizontal and not vertikal? I did not found how to do this.

Thanks

Michael

Coordinator
Aug 23, 2012 at 6:41 AM

Try the "Angle" property.

Note, there is an un-solved issue http://oxyplot.codeplex.com/workitem/9594-

For vertical axes, I would also like to implement http://oxyplot.codeplex.com/workitem/9972.

Aug 23, 2012 at 7:56 AM

Hi objo

Thanks for the quick answer, but "Angle" rotate the labels of the ticks not the title or do I miss something?

Thanks

Michael

Coordinator
Aug 23, 2012 at 1:41 PM

Right, "Angle" rotates the labels of the ticks. Rotation of the titles is not yet implemented.

Do you want to rotate the titles of the horizontal (X) axes?

For vertical axes, the following feature is planned http://oxyplot.codeplex.com/workitem/9972.

Aug 23, 2012 at 1:55 PM

Ho objo

yes, I need to rotate the titles on the left/right side. I have 9 LinearAxes (which are shown from left to right), some of them only show if it was activated or not. So I need the titles horizontal because they are truncated now.

Thanks

Michael

Coordinator
Aug 24, 2012 at 7:16 AM

ok, I added http://oxyplot.codeplex.com/workitem/9994