-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
The Export to PNG is not working in Chrome, Edge, Firefox and Opera #1671
Comments
I tested in Firefox 77 and Chrome 83, it works fine. |
Here is the PEN: https://codepen.io/betonetotbo/pen/oNbjOvE Is something related to the dataLabels formatter. |
any workaround? |
If I remove the |
Both has the same result, but the second make the Export To PNG not work. Why????? This works:
This NOT works:
|
I found the char who is getting us in trouble: Using the See at the image above (left SVG generates the PNG). I attached the both SVGs (correct and buggy) formatted. |
It looks like that it could be (dirty) fixed this way : |
@gfortaine Have you tested your solution to check if it works in all browsers? |
@junedchhipa It should work on all browsers, please let me check. However, it seems that one would like something more elegant than a rough replace 🙂 I will prepare a PR for this as well as for some other things (timezone & upgrade to SVG.js v3.x). |
@gfortaine @junedchhipa Is there any progress on this issue? Thx |
I also need this functionality. |
I also have the same issue. The quick fix offered by @gfortaine is not the most pretty one I have seen but seems to actually work! We may also try to change Intl.NumberFormat to stop using |
I activated the toolbar and click on hamburger icon on "Export to PNG" but nothing happens.
I'm using ApexCharts 3.19.2.
Debugging the apexcharts , the method
dataURI
I noted that theimg.onload
event isn't fired, here is a chunk of the code:I tested on Microsoft Edge and the resulting PNG is blank. So, also not working.
On Firefox 77.0.1 also nothing happens.
So as on Opera 68.0.3618.125, nothing happens.
The text was updated successfully, but these errors were encountered: