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

how to get canvas from chart in v2? #2533

Open
mastnova opened this issue May 7, 2024 · 0 comments
Open

how to get canvas from chart in v2? #2533

mastnova opened this issue May 7, 2024 · 0 comments

Comments

@mastnova
Copy link

mastnova commented May 7, 2024

I need to get a canvas to convert into image and print into pdf. In previous 1.x versions, I used the onReady event to get the plot and then plot.chart.getCanvas() to get the canvas. But in version 2.x this method no longer exists. How can I get the canvas?

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

1 participant