Skip to content
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

Disabling Legend makes X-axis labels leave component bounds #261

Open
xxfogs opened this issue Jul 26, 2024 · 7 comments
Open

Disabling Legend makes X-axis labels leave component bounds #261

xxfogs opened this issue Jul 26, 2024 · 7 comments

Comments

@xxfogs
Copy link

xxfogs commented Jul 26, 2024

When chart legend gets disabled through

chart.legend.isEnabled = false

X-axis labels become just partially visible due to leaving the component bounds

image

I believe this issue has been inherited from the upstream as a similar issue has been filed recently

@hannesa2
Copy link
Collaborator

Sure, as far as I know, this legend part is untouched.
The only diff is here, that I merge pull requests and create immediate a new release

@xxfogs
Copy link
Author

xxfogs commented Jul 27, 2024

Do you maybe know any workarounds till a patch is released?

@hannesa2
Copy link
Collaborator

No.
To solve this systematically, a new espresso test, which demonstrates the issue is required.

@hannesa2
Copy link
Collaborator

I tried to reproduce it #262 but here it's fine (at least for me)
Please can you provide a running sample, best in this repo as a new sample ?

@xxfogs
Copy link
Author

xxfogs commented Jul 31, 2024

Yes, I will provide a sample repo, however can you please try moving the X axis in your test to bottom (chart.xAxis.position = XAxis.XAxisPosition.BOTTOM)? Currently it's on top

Test:

image

My sample:

image

@hannesa2
Copy link
Collaborator

hannesa2 commented Jul 31, 2024

Yes, I will provide a sample repo,

Better, to do it in this repo as a pull request. Or simply jump into #262

@hannesa2
Copy link
Collaborator

hannesa2 commented Aug 6, 2024

As I wrote #262 (comment) I'm not able to reproduce

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants