Last active
January 31, 2024 07:23
-
-
Save hkmoon/aa4041d59f297560e1a65ac2ee124c72 to your computer and use it in GitHub Desktop.
amchart in jupyter
Author
hkmoon
commented
Jan 30, 2024
@hkmoon does the above script export automatically? please verify this. I was getting with my code same but its does not export automatically. thanks.
@ArsalanAli915 You can use download()
or print()
since this is based on web.
https://www.amcharts.com/docs/v5/concepts/exporting/exporting-api/#initiating-download-print
It cannot access to local file system in the web. However, you can pass a raw format binary data to the python context and save it locally.
exporting.export("png").then(function(imgData) {
document.getElementById("myImage").src = imgData;
});
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment