Use Advanced MSO Chart Features in PowerPoint Presentations in C# or Java

Hi guys! In today’s blog, I would like to share my experience after using the latest Aspose.Slides 19.7 which has been enriched with improved chart manipulation features. The best thing about Aspose.Slides is that it has a monthly release where .NET, Java, Android via Java, and C++ based APIs are published together. So, what’s available in .NET based API is also available for Java, Android via Java and C++ based APIs. This way the users feels comfortable with API they are using and with same features available across the board.

In the following sections, I am going to give you a walk through of what new features have been included and what improvements have been carried in API.

Set External Workbook for Chart

When working with MSO charts insider PowerPoint presentation, one may set an external workbook to chart as a data source. Now, Aspose.Slides also offers this support and for this purpose IChartData.SetExternalWorkbook method has been added. This method can be also used to update a path to the external workbook if it has been moved. Workbooks placed on remote resources unavailable for data editing but still can be assigned as an external data source. If the relative path was provided for an external workbook, it converts to full path automatically.

This example demonstrates how to manage the external workbooks for the chart.

The similar Java-based example for this is:

The similar C++ based example for this is:

Add Default Chart Markers

Aspose.Slides also provides a simple API to set the chart series marker automatically. In the following feature, every chart series will get different default marker symbols automatically. The following example exhibits the use of a new future.

The similar Java based example for this is:

The similar C++ based example for this is:

Improved Chart Series Data Points Management

Aspose.Slides also offer support for removing the individual chart series data points. All you need to do is to access the desired series data point and clear that. The following example exhibits the use of new future.

The similar Java-based example for this is:

The similar C++ based example for this is:

Wait, there’s many other features, enhancement, and bug fixes included in this release. Here you can get the detail!

When time allows you can check out API examples at Github, talk about this release and other API related issues in our forum.