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

Some missing methods in swift 3 version #1472

Closed
StefanNestorov opened this issue Sep 19, 2016 · 6 comments
Closed

Some missing methods in swift 3 version #1472

StefanNestorov opened this issue Sep 19, 2016 · 6 comments

Comments

@StefanNestorov
Copy link

Hi, i tried to upgrade my project with the latest version of charts (swift 3.0 from the main branch) but some methods and properties are missing like:
xValCount, lowestVisibleXIndex, highestVisibleXIndex, data.xVals.count, on ChartViewBase i think; xAxis.setLabelsToSkip() on xAxys and some others.
Do you plan to update this things soon ?

@danielgindi
Copy link
Collaborator

Charts 3.0 is a breaking change, as there are structural changes. There are not x values anymore.
I will release some notes on how to upgrade.

@StefanNestorov
Copy link
Author

Ok, do you plan to update the older version of the library to swift 3 ?

@danielgindi
Copy link
Collaborator

@StefanNestorov It's too much work, I cannot look back that far :-)

@StefanNestorov
Copy link
Author

StefanNestorov commented Sep 19, 2016

Thank you for answering, just one more important question for me - in my app values in the xAxys are not linear for example ...1 2 3 4 1 2 3 4 1 2 3 4 ... and in some places i have actual entry with xIndex and y value. With the old version i achieved this, but will this be still possible in the new version ? Because as i understand you dont supply x values for the axys anymore ?

@liuxuan30
Copy link
Member

the old version with swift 3 is in Swift 3.0 branch.

@Huang-Libo
Copy link

Huang-Libo commented Sep 20, 2016

@StefanNestorov
Maybe formatter can handle this problem?@danielgindi

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

4 participants