Open praneethmendu opened 1 year ago
I have the most basic table here
import pptxgen from "pptxgenjs"; let pptx = new pptxgen(); let slide = pptx.addSlide(); let chartData = [ { "name": "Nunca", "labels": [ "Belleza", "Moda" ], "values": [ 0.058, 0.023 ] } ] slide.addChart("bar", chartData); pptx.writeFile({ fileName: "PptxGenJS-Demo"});
here is what the result looks on PowerPoint online
and also on google slides
But when it comes to keynote this is what I see, it says : "the file format is invalid"
From more complex attempts I know what text renders fine only graphs and stuff are the issue
run npm init and npm i pptxgenjs in an empty folder and run the above code
npm init and npm i pptxgenjs
Issue Category
Product Versions
Desired Behavior
I have the most basic table here
here is what the result looks on PowerPoint online
and also on google slides
Observed Behavior
But when it comes to keynote this is what I see, it says : "the file format is invalid"
From more complex attempts I know what text renders fine only graphs and stuff are the issue
Steps to Reproduce
run
npm init and npm i pptxgenjs
in an empty folder and run the above code