Hi,
I have a question.
I will change the chart type of an existing chart.
But it not work - here is my code:
( i load a template file with an PIE Chart and i will change the type to a RADAR )
<br />
<br /> Presentation thePresentation = new Aspose.Slides.Presentation("pieTemplate.pptx");
<br />
<br /> foreach (IShape theShapes in thePresentation.Slides[0].Shapes)
<br /> {
<br /> if (theShapes is IChart)
<br /> {
<br /> IChart theChart = (IChart)theShapes;
<br />
<br />
<br /> theChart.Type = ChartType.Radar; // this not work for me
<br /> }
<br /> }
<br />
<br /> thePresentation.Save("export.pptx", Aspose.Slides.Export.SaveFormat.Pptx);
<br />
<br />
In the Attachments there is my “pieTemplate.pptx” file.
I use Aspose.Slides 15.4.0.
Can you help me ? or give me an example how do i change the type of a chart ?
Many Thanks,
Marius W.
Hi Marius W,
Hi Mudassir,
Many Thanks for your Help !
Marius W.
Hi again,
When can I expect with this fix?
This function we need in our company for some Projects…
Many Thanks,
Marius W.
Hi … Again,
I have played with the template file and i found out that if the chart in the Template file is a PIE Chart that i don’t can modify the Chart type.
BUT if the Chart in the Template file is a BAR Chart i can modify / change the type to PIE, RADAR and so on…
Pretty strange but helps me and the people who have the same problem
Hope that help you to found the Problem with the PIE Chart…
Marius W.
Hi Marius W,
Thank you for sharing the additional information. We will share the feedback with you as soon as our product team will schedule and investigate the issue on its due turn. We will really appreciate your patience in this regard.
Many Thanks,
The issues you have found earlier (filed as SLIDESNET-36657) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.
Hi Marius,
Hi Shruti,