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 pass data to the X axis?? #1967

Closed
chaochaoaijie opened this issue Dec 16, 2016 · 1 comment
Closed

How to pass data to the X axis?? #1967

chaochaoaijie opened this issue Dec 16, 2016 · 1 comment

Comments

@chaochaoaijie
Copy link

//BarChartData *data = [[BarChartData alloc] initWithXVals:xVals dataSets:dataSets];
In the latest version,The Function initWithXVals:XXX dataSets:XXX does not exist.

so?How to pass data to the X axis??? I am a novice, thank you all.

@monkeyRing
Copy link

Have a look at IndexAxisValueFormatter. As far as i know it is the recommended way to do this.
I pointed this out in Issue #1909 .

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