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

First and Last Bars are not displaying full bars in CombinedChartView #3515

Closed
muthusabarinathan opened this issue Jun 14, 2018 · 1 comment

Comments

@muthusabarinathan
Copy link

What did you do?

I would like to create a chart for stocks price and volume. So I chooses combinedChartView.

What did you expect to happen?

I would like to show price as LineChart and Volume as BarChart. And I created by using CombinedChartView.

What happened instead?

Here First and Last Bars are not displaying full bars.

1st Issue:
screen shot 2018-06-14 at 12 44 54 pm

So I changed xAxis.axisMinimum value as -0.5. Now bars are looking good but line chart is moved.
2nd Issue:
screen shot 2018-06-14 at 12 46 04 pm

Expectation:

I want to change BarChart xAxis minimum value alone without affecting LineChart xAxis.

Charts Environment

Charts version/Branch/Commit Number: 3.1.1
Xcode version: 9.2
Swift version: 3.2
Platform(s) running Charts: iOS
macOS version running Xcode: 10.13.1

Please help me to achieve this.

@liuxuan30
Copy link
Member

liuxuan30 commented Jun 22, 2018

check out ChartsDemo and #3186 for workaround.

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