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

Radar Chart- Setting the maximum Y-Axis value. #994

Closed
akhilm3 opened this issue Apr 29, 2016 · 1 comment
Closed

Radar Chart- Setting the maximum Y-Axis value. #994

akhilm3 opened this issue Apr 29, 2016 · 1 comment

Comments

@akhilm3
Copy link

akhilm3 commented Apr 29, 2016

radarChart.yAxis.customAxisMin = min(0.0, radarChart.data!.yMin - 1.0)
radarChart.yAxis.customAxisMax = max(100.0, radarChart.data!.yMax + 1.0)

I used these line of code to set the maximum Y-axis values yesterday but today the return a "Value of type 'ChartYAxis' has no member 'customAxisMin/Max'"
Did the code change from yesterday to today?
What am i doing wrong?

@danielgindi
Copy link
Collaborator

You have to read release notes to see how releases affect the code...
Specifically - customAxisMin was a non-compatible naming to the Android equivalent, due to some ambiguous naming. It was fixed, the old APIs were deprecated, and a new and better API was introduced cross-platform. Finally customAxisMin was removed.

So please move to axisMinValue.

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