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

Change dataSet axis dependency #845

Closed
4074 opened this issue Mar 15, 2016 · 1 comment
Closed

Change dataSet axis dependency #845

4074 opened this issue Mar 15, 2016 · 1 comment

Comments

@4074
Copy link

4074 commented Mar 15, 2016

Hi.
I want to render two lines on a LineChart. One dataSet dependent on leftAxis. The other dependent on rightAxis.

However, Xcode tell me "axisDependency" is a get-only property when I change the "axisDependency" property of the second dataSet.

So, how can i do this?
Thank you!

@liuxuan30
Copy link
Member

use lineDataSet.axisDependency = AxisDependencyRight;

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