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

Multiple y-data for single x-index #1955

Closed
ghost opened this issue Dec 13, 2016 · 3 comments
Closed

Multiple y-data for single x-index #1955

ghost opened this issue Dec 13, 2016 · 3 comments

Comments

@ghost
Copy link

ghost commented Dec 13, 2016

Hello there.
I have a combined chart viewf which contains candle chart and line chart. What I need is multiple y values for single x-index. Is there certain way I could achieve this?

Here is the screenshot of the code.
screen shot 2016-12-13 at 9 50 05 am

In case of Bar chart, its allowed like this:
-> BarChartDataEntry(x: Double, yValues: [Double])

But for other chart, there is no such option for initialization. How can I achieve like for bar chart?

@liuxuan30
Copy link
Member

For bar chart, yValues are only used for stacked bar chart. For other chart, it is not supported. Consider a simple fact: when you draw a dot (x, y), why do you need another y?
If you really need, then you can subclass a bunch of classes and add the array yourself.

@rolyanos
Copy link

@liuxuan30, hello, is it possible to do multiple y-axis in current version?

@liuxuan30
Copy link
Member

NO

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