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

Free Support Forum - aspose.com

Creating a Stacked area chart using SlideEx


I want to create a stacked area chart on a pptx, using the PresentationEx and SlideEx classes.

Can this be done without using excel?

Upon searching sample examples I found code that does it using excel.

Please point me to right sample/post code for this. (I am using the evaluation version currently)

Many thanks,


Hi Varun,

Thanks for your interest in Aspose.Slides.

I like to share that Aspose.Slides allows you to add the MSO charts using Aspose.Slides without using Excel. Please visit this documentation link for sample charts and share with us if I may help you further in this regard.

Many Thanks,

Hi Mudassir,

Thanks for the prompt reply, it gives me a sense of confidence in Aspose components.

One question:

I was trying to set font sizes on the chart. I used the below code for chart title.

chart.ChartTitle.Text.Paragraphs[0].Portions[0].FontHeight = 8;

and it works.

Can you point/tell me the corresponding font proeprties for the legends and X, Y axes tick marks, as well as other chart labels.



Hi Varun,

Thanks for your growing interest in Aspose.Slides.

Please visit this documentation link where by I have shared the sample code to format the chart entities. I am hopeful, this will help you in addressing the requirements.

Many Thanks,

Hi Mudassir,

Yes the sample code did help.

Thanks for all the support!