Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG - Graphs are not shown in Mac Keynote #1306

Open
adityapandey216 opened this issue Nov 23, 2023 · 1 comment
Open

BUG - Graphs are not shown in Mac Keynote #1306

adityapandey216 opened this issue Nov 23, 2023 · 1 comment

Comments

@adityapandey216
Copy link

We appreciate your feedback - to help the team understand your needs please complete the following template to ensure we have the details to help.

Submission Guidelines

  • If you are not using the latest release, please update and see if the issue is resolved before submitting an issue
  • General questions or high-level topics should be posted in Discussions
  • Please browse the online Documentation to see if your question is already addressed there

Issue Category

  • Bug

Product Versions

"pptxgenjs": "3.12.0"

Desired Behavior

It should show graphs in mac keynote

Observed Behavior

I have a ppt generated with node.js. It has charts in it. The charts are shown in microsoft powerpoint but not shown in mac keynote

Steps to Reproduce

sample code
ppt.stream()
.catch((err) => {
logger.error("An error occured while generation PPT: "+err)
throw err;
})
.then((data:any) => {
// Send stream of data as res
res.writeHead(200, {"Content-disposition": `attachment;filename=sample.pptx, "Content-Length": data.length });
logger.info("Sending ppt generated to client")
res.status(200).end(Buffer.from(data, "binary"));
})
.catch((err) => {
console.log("error",err)
logger.error("ERROR occured while sending data to client: " + err);
throw err
});
} catch (e) {
console.log("error",e)
logger.error("Error in generating PPT", e);
return res.status(500).json({ message: 'An error occurred: ' + e });
}

@MP70
Copy link

MP70 commented Apr 24, 2024

I've fixed this in a fork, but it looks like this library is largely unmaintained at this point.

If a future maintainer comes across this and would like a PR please shoot me a message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants