empira / PDFsharp-1.5

A .NET library for processing PDF
MIT License
1.28k stars 588 forks source link

Ability to add slant to chart axis tick labels #104

Closed sarahelsaig closed 3 months ago

sarahelsaig commented 4 years ago

I've added the property PdfSharp.Charting.Axis.TickLabelAngle which is used by the renderer to rotate the axis tick labels. For example this creates a counterclockwise 30° slant: lineChart.XAxis.TickLabelAngle = -30;

image

DrWenz commented 4 years ago

when will this be available in the official build ? or can we test the current beta version ?

sarahelsaig commented 4 years ago

In my previous workplace they still use this version in production so that's totally viable. But I'm not maintaining it because I don't use PDFsharp in my current job. If you want to use it with the latest version feel free to fork my branch and merge that with upstream. If you do that, please make a new PR and comment here so I can withdraw this one. Thanks.

sarahelsaig commented 3 months ago

I'm in the process of cleaning up my unused repositories. I decided to close this PR and archive its repo, because it received no attention for 5 years. Since then I no longer use PDFsharp nor Windows, so I can't say if any of this code still works but if anyone needs it feel free to take it.