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

Can't set a fixed width for YAxis with outside style. #3565

Closed
1 task done
aelam opened this issue Jul 18, 2018 · 2 comments
Closed
1 task done

Can't set a fixed width for YAxis with outside style. #3565

aelam opened this issue Jul 18, 2018 · 2 comments

Comments

@aelam
Copy link
Contributor

aelam commented Jul 18, 2018

ℹ Please fill out this template when filing an issue.
All lines beginning with an ℹ symbol instruct you with what info we expect. You can delete those lines once you've filled in the info.

Per our *CONTRIBUTING guidelines, we use GitHub for
bugs and feature requests, not general support. Other issues should be opened on Stack Overflow with the tag ios-charts.

Please remove this line and everything above it before submitting.

What did you do?

ℹ set the leftAxis outsideChart

What did you expect to happen?

ℹ make the leftAxisWidth fixed and the labelText can shrink automatically.

What happened instead?

ℹ The Width of leftAxis changes all the time when chart data moves. that means leftAxisArea, contentArea change all the time.

Charts Environment

Charts version/Branch/Commit Number:
Xcode version: 9.3
Swift version: 3
Platform(s) running Charts: Simulator
macOS version running Xcode: 10.13.4

@liuxuan30
Copy link
Member

eh, make the leftAxisWidth fixed and the labelText can shrink automatically. sounds like an enhancement or new feature?

@jjatie
Copy link
Collaborator

jjatie commented Sep 17, 2018

Agreed. Feel free to submit a PR implementing this. If you do, be sure to target 4.0.0 branch

@jjatie jjatie closed this as completed Sep 17, 2018
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

3 participants