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

spaceMin and spaceMax (xAxis) not working when setting new data #4753

Closed
francyrho11 opened this issue Nov 17, 2021 · 1 comment
Closed

spaceMin and spaceMax (xAxis) not working when setting new data #4753

francyrho11 opened this issue Nov 17, 2021 · 1 comment

Comments

@francyrho11
Copy link

What did you do?

I'm using xAxis.spaceMin and xAxis.spaceMax to add some extra spacing.
axisMaximum are calculated automatically.

What did you expect to happen?

spaceMin and spaceMax will add extra spacing even when setting new data

What happened instead?

Spacing is correct first time i set some data inside the graph.
Once I set new data inside the graph (e.g. lineChartView.data = chartData) the additional space disappear.

@francyrho11 francyrho11 changed the title spaceMin and spaceMax (xAxis) not workin when setting new data spaceMin and spaceMax (xAxis) not working when setting new data Nov 25, 2021
@Rajneesh071
Copy link

Is it solved ? Because It's not working for me in latest code.

Only spaceMin working for me.
e.g. chartView.xAxis.spaceMin = 10

If I add Max, line in not drawing.

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