-
-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Distance between chart legend and the chart is to big in case of rotated labels #1360
Comments
What version of Charts is this? |
@PhilJay is it possible that offsets/calculations of xAxis affect the yAxis in horizontal charts? |
Hey man, sorry for the late reply, I was on vacation (once again). Yes, that could be the case, this should be investigated! |
I'm using version 2.2.5 |
+1 This happens with line chart too. |
I can't reproduce this on Charts 3.0. Seems solved to me :-) |
I am experiencing the same issue with line charts in Charts 3.0.1.
|
Yes, same issue for me using Charts 3.0.2 |
This bug is not yet solved. I can reproduce it with the latest Charts 3.x versions. If I merge the fix from my pull request #2214 everything works as expected. See also open issue #2138. @danielgindi @PhilJay @liuxuan30 |
see also #2414 |
sorry. It has been busy all the time. Are #2414 and #2138 the same issue? If so, can we merge this two PRs together? If they are different issues and #2214 is just a quick fix for horizontal bar chart, I think I could help merge recently. But we need to figure out the scope first. |
@liuxuan30 they look somehow related. But I'm not sure if the same fix solves both issues. #2414 deals with offset issue with 90° rotated labels in a line chart |
Hi,
I have a horizontal bar chart as shown in the picture. As soon as I rotate the x-axis labels the distance between the legend and the chart increases. Any ideas how to reduce the gap?
chart.xAxis.labelRotationAngle = -90.0
The text was updated successfully, but these errors were encountered: