Thanks for your support! it works,but there maybe something not so perfect,when i set chart.NSeries[0].DataLabels.DirectionType = ChartTextDirectionType.Vertical,nothing happend,and the datalables in the chart is still horizontal,and later i changed my code like below and it works:
var pointLength = chart.NSeries[0].Points.Count;
for (int i = 0; i < pointLength; i++)
{
chart.NSeries[0].Points[i].DataLabels.DirectionType = ChartTextDirectionType.Vertical;
}
I think it is not a big deal to specify direction type for each data point in the series. So, you may use your code segment to accomplish the task, this is better way to cope with it. Anyways, we will further evaluate it on our end.
We have decided that we will update direction type of ChartPoint.Datalables when specifying by Series.DataLables.TextDirection.
Once we support it, we will update you.
Please try our latest version/fix: Aspose.Cells for .NET v20.3.4 (attached)
Your issue should be fixed in it and your original code should work fine.
Let us know your feedback.
Aspose.Cells20.3.4 For .Net2_AuthenticodeSigned.Zip (5.3 MB)
Aspose.Cells20.3.4 For .Net4.0.Zip (5.3 MB)