We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Data label Allignment Issue

I am using Aspose chart.I want to move the chat data label a little bit above.Currently it is overlapped with the chart column. How can I achieve this?

sample.PNG (19.7 KB)


Thanks for the screenshot.

How could you you do this in MS Excel manually via Ms Excel options? I think you may try setting the rotation angle a bit. Moreover, you may try to use X/Y properties to move the data labels a bit:
Sample code:

dataLabels.RotationAngle = 30;
int delta = 200;
dataLabels.Y = Y - delta;

Hope, this helps a bit.