Angled Labels in CategoryAxis

Oystein Bjorke 10 years ago 0
This discussion was imported from CodePlex

ecascketta wrote at 2014-07-09 01:10:

Hello

So I posted this problem here as well.

Basically I have a column chart and it's cutting off the bottom axis labels when I export to a png. All of the labels have the potential to be quite long so I'm trying to angle them at 30 or 45 degrees but they keep getting cut off.

I ensured that PlotModel.PlotMargins.Bottom == NaN and I've fiddled with a bunch of properties on CategoryAxis and PlotModel but have had no luck.

It also seems like this problem has existed for a while?

Just like I posted above, I put details here.

Am I doing something wrong or is this a longstanding issue that can only be resolved with a dirty hack?

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

Yes, the work item you mention is still open. I see there is some code there, but I need a pull request (including an example) to get this into the library!