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

How to remove top and bottom extra space in LineChartView? #4205

Closed
nikitaozeryan opened this issue Nov 5, 2019 · 3 comments
Closed

How to remove top and bottom extra space in LineChartView? #4205

nikitaozeryan opened this issue Nov 5, 2019 · 3 comments

Comments

@nikitaozeryan
Copy link

No description provided.

@nikitaozeryan nikitaozeryan changed the title Remove top and bottom extraSpace How to remove top and bottom extraSpace? Nov 5, 2019
@nikitaozeryan nikitaozeryan changed the title How to remove top and bottom extraSpace? How to remove top and bottom extra space? Nov 5, 2019
@nikitaozeryan nikitaozeryan changed the title How to remove top and bottom extra space? How to remove top and bottom extra space in LineChartView? Nov 5, 2019
@nikitaozeryan
Copy link
Author

nikitaozeryan commented Nov 5, 2019

When chart drawed it have extra space in top and bottom. https://ibb.co/2hnNz6R

@nikitaozeryan
Copy link
Author

chartView.leftAxis.spaceMin = 0
chartView.leftAxis.spaceMax = 0
chartView.leftAxis.spaceTop = 0
chartView.leftAxis.spaceBottom = 0
chartView.rightAxis.spaceMin = 0
chartView.rightAxis.spaceMax = 0
chartView.rightAxis.spaceTop = 0
chartView.rightAxis.spaceBottom = 0
chartView.xAxis.spaceMin = 0
chartView.xAxis.spaceMax = 0
chartView.autoScaleMinMaxEnabled = false
chartView.notifyDataSetChanged()
helps me

@liuxuan30
Copy link
Member

ask on stack overflow. We don't answer how-to questions here anymore.

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