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

Grouped bars in Combined chart #1543

Closed
pilot34 opened this issue Sep 23, 2016 · 2 comments
Closed

Grouped bars in Combined chart #1543

pilot34 opened this issue Sep 23, 2016 · 2 comments

Comments

@pilot34
Copy link

pilot34 commented Sep 23, 2016

Hello! Thank you for the great library.

In Charts 3.0 you added method open func groupBars(fromX: Double, groupSpace: Double, barSpace: Double) to group columns from different dataSets in BarChartData

But what if I have such BarChartData inside CombinedChartData combined with LineChartData? I need to recount coordinates for line too, but I'm afraid there is no such method.

Example

I have 2 x-values here. Line have both values and 2 groups of bars have values. But line is displayed wrong.

Should be smth like that:

@pilot34
Copy link
Author

pilot34 commented Sep 23, 2016

What do you think about a support of grouped columns with lines?

@liuxuan30
Copy link
Member

liuxuan30 commented Sep 26, 2016

I don't understand what's your issue. You should follow how ChartsDemo or the API to implement combined chart. Check Combined chart demo.

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