We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Our team is looking for a way to generate ChartJs on server-side. Our need is either
Is there an example about how to save image to disk?
The text was updated successfully, but these errors were encountered:
The src/example.ts gives an example of saving a chartJs image to disk using .renderToBuffer(), then fs.writeFile().
src/example.ts
.renderToBuffer()
fs.writeFile()
You can also generate a data url via the .renderToDataURL() function
.renderToDataURL()
Sorry, something went wrong.
No branches or pull requests
Our team is looking for a way to generate ChartJs on server-side.
Our need is either
Is there an example about how to save image to disk?
The text was updated successfully, but these errors were encountered: