-
-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Fix the xAxis to use the values from my dataset #1791
Comments
Did you try |
@patreu22 my issue seem to be more on what values actually get displayed, I wanted to show values exactly as they are in my array ...but after I call [[LineChartDataSet alloc] initWithValues:values] the resulting data set has data that is different from x values i provided...looks like it re-calculates em.. |
@sanjay2001 you are right, |
I am unable to set the axis values to be the values that are in my dataset. There doesn't seem to be a way to restrict the behavior where the library does not auto calculate the data point labels to show on x-axis.
If I have [250,500,1000,2000,4000,8000] as X-axis values and some corresponding values to each on Y ...then my chart is not showing the above data points labels on x..it shows some values like ...[125, 1700,3275,4850,6426,8000]....
The text was updated successfully, but these errors were encountered: