-
-
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
Multiple Y axis cause the axis to crop #98
Comments
No, that space shouldn't exist. |
@junedchhipa if you point me in the right direction I can help fix this and open a PR |
@Carniatto This is fixed in 8817230 The code for this is located in |
@junedchhipa This is still happening in ver 1.5.3 |
Can you please show me your example code for which this is happening? |
@junedchhipa just tried with the latest version I think the problem is when you use formatters for labels it will not consider it |
Hi @Carniatto |
Hi @junedchhipa this bug is still happening under the same circumstances. Do you mind to check it? |
I need to rewrite the routine for yaxis titles calculations for multi-axes or write better tests. Thanks for reporting. |
I ended up adding:
but it would be nice if we can fix it permanently without adding offset. |
I met similar problem today with single Y axis. In my project I use Vue flavor of ApexCharts alongside Quasar framework. In my case the chart is contained in a dialog box that is hidden by default. I noticed that the amount of Y axis title that is cropped varies every time I open this dialog. By default the dialog has opening/closing animation time of 300 ms. I tried to change this time to 0 ms and 1000 ms. In the first case the problem with cropped description disappeared. Making it very long causes cropping even worse (crops some of the numerical values). I don't know much about ApexCharts' internals but it looks like dimensions used for Y-axis titles calculation are fetched too early - when the containing element hasn't achieved it's final size. |
When using multiple Y axis the positioning of the left axis is wrong resulting in copping of the title
The text was updated successfully, but these errors were encountered: