I am working with an export function by using PptxGenJS. It does not work even with basic example code from demo source code on official Github. I am working with export charts.
My steps:
- Install PptxGenJS and import like normal npm package.
- Copy code from official demo:
slide.addChart( pptx.charts.BAR, arrDataRegions, optsChartBar1 );
The result:
- Chart show nothing in exported slider.
- Open with Microsoft Powerpoint 2013, it shows some error similar to this question.
- My codesanbox even worse, no file were downloaded.
My notable package versions:
"react": "^16.13.1",
"pptxgenjs": "^2.6.0",
My environment versions:
- node version:
v10.17.0
- npm version:
v6.11.3
- Windows 10 Pro 1903, OS build
18362.1082
Both two versions of Pptxgenjs
do not work.
Any thoughts on this? Thanks for any idea. I'm giving up on this library.