Hi,
Hi Alexandros,
Thanks for your interest in Aspose.Slides.
I have observed your requirements and have not been able to completely understand them. Can you please share the requirements in the form o PowerPoint presentation so that I may understand them on my end to help you further in this regard. As per my understanding, if you are talking about chart series data labels, they cannot be rotated even in PowerPoint. Please share the requested information so that I may help you further.
Many Thanks,
It is really easy to understand what i need. I need the labels in the chart to rotate in x degrees. In PowerPoint this is possible if you do the following:
- Go to a chart
- Format Data Labels
- Alignment
- Custom angle = 60 degrees
Hi Alexandros,
I have observed your requirements and suggest you to please try using the following sample code on your end to serve the purpose. I hope this will be helpful. Please share, if I may help you further in this regard.
public static void TestChartLabelsRotation()
{
Presentation pres = new Presentation();
IChart chart = pres.Slides[0].Shapes.AddChart(ChartType.ClusteredColumn, 50, 50, 300, 300);
IChartData chartData = chart.ChartData;
IChartSeries series = chartData.Series[0];
series.Labels.DefaultDataLabelFormat.ShowValue = true;
series.Labels.DefaultDataLabelFormat.TextFormat.TextBlockFormat.AnchoringType = TextAnchorType.Center;
series.Labels.DefaultDataLabelFormat.TextFormat.TextBlockFormat.TextVerticalType = TextVerticalType.Vertical270;
pres.Save(“D:\Aspose Data\ChartLabels.pptx”, SaveFormat.Pptx);
}
Many Thank,
Hi,
Hi Alexandros,
Any updates on the above?
Hi Alexandros,
I have verified from our issue tracking system and glad to share that concerned issue has been marked as resolved in upcoming version of Aspose.Slides for .NET 16.1.0. We will share the notification with you as soon as the product will be released online during February.
Many Thanks,
The issues you have found earlier (filed as SLIDESNET-37033) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.