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

Free Support Forum - aspose.com

ShowDataTable Not Working

I am trying to use the ShowDataTable property to display the data table for a column chart. When I set the property to true, it doesn’t do anything. I am using version 7.1.1

@FireWave

Thanks for using Aspose APIs.

Please download and use the most recent version and it should fix your issue. We have tested this issue with most recent version and it worked well.

Download Links:
Input and Output Excel Files.zip (20.4 KB)

C#

Workbook wb = new Workbook("sample.xlsx");

Worksheet ws = wb.Worksheets[0];

//Show data table
Chart ch = ws.Charts[0];
ch.ShowDataTable = true;

wb.Save("output.xlsx");

Screenshot: