-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
dataURI method doesn't properly size/scale the legend on Safari for Mac #3452
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
Comments
Forgot to mention that I am using version 3.35.5 of apexcharts. |
This is an error with Safari only, it works ok on other browsers. |
It works on my Safari. Can anyone else duplicate this? |
I can duplicate it also on my mobile Safari on iOS 16.1 |
I'm also running Safari on iOS 16. Without the ability to duplicate it, it will be very difficult to find the issue or fix it. |
I am using Safari Version 16.1 (18614.2.9.1.12) on my desktop. |
DuckDuckGo Version 0.30.1 (0.30.1) also reproduces the issue. |
I found a better way to show the issue, without the need to enable the popups that Safari is good at blocking. |
Our team tester, who discovered this issue, has Safari 15.6.1 (17613.3.9.1.16) |
Using Safari 17.3.1 on Mac Studio M2 still shows the same problem on https://codepen.io/andrussuitsu/pen/jOKEwMN. It is not only on my computer, our testers once again reported this today. |
Our testers have discovered that the problem with the legend placement can also be seen when just changing Safari's zoom level. In fact, you can see it even on your documentation page: https://apexcharts.com/javascript-chart-demos/line-charts/dashed/ Just increase the zoom level and you will see that the chart area will change properly but the legend will stay where it is using the initial size. ![]() |
it should help #2963 (comment) |
When using optional parameters of dataURI method to size or scale the returned image, the legend is not sized or scaled properly.
Steps to Reproduce
Please have a look at codepen https://codepen.io/andrussuitsu/pen/JjZoRjB. It will open a new tab with the data:image uri returned by the dataURI method that was called with scale: 2 parameter.
Expected Behavior
The legend will scale/size together with the rest of the chart.
Actual Behavior
The legend is not scaled/sized properly.
Screenshots
Reproduction Link
https://codepen.io/andrussuitsu/pen/JjZoRjB
The text was updated successfully, but these errors were encountered: