Data Browser - Viewing Site  Sector 23 Code Bank Logged in as:  Guest  




           


Re: How to Create a Bar Graph / 3D Pie Chart in PowerPoint using .NET OpenXML API
> View Original Message
Answer to Guest:
The excel file has to be written in a specific way to support auto-bind/refresh when in the pptx file. Namely it has to be enclosed in a data table so the file knows where the data is.
(After you edit it this is added automatically.)
See my other post 'Create an XLSX File using OpenXML API (ExcelTools.cs)' for implementation, specifically the flag 'encloseDataInTable'.
If it still doesn't work, you are missing something from the above code.

Created By: amos 1/4/2017 10:36:29 PM