Read and Manipulate Excel 2016 Charts

Possible Usage Scenarios

Aspose.Cells supports the reading and manipulation of Microsoft Excel 2016 charts which are not present in Microsoft Excel 2013 or earlier versions.

Read and Manipulate Excel 2016 Charts

The following sample code loads the source Excel file which contains Microsoft Excel 2016 charts in the first worksheet. It reads all charts one by one and changes their titles according to each chart type. The following screenshot shows the source Excel file before the code is executed. As you can see, the chart title is the same for all charts.

todo:image_alt_text

The following screenshot shows the output Excel file after the code is executed. As you can see, the chart title is changed according to its chart type.

todo:image_alt_text

Sample Code

Console Output

Here is the console output of the above sample code when executed with the provided source Excel file.

Waterfall

Treemap

Sunburst

Histogram

BoxWhisker

Advanced Topics

  • Creating Waterfall Chart