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

数据源都是0的时候有问题 #4241

Closed
CoderWZF opened this issue Dec 6, 2019 · 4 comments
Closed

数据源都是0的时候有问题 #4241

CoderWZF opened this issue Dec 6, 2019 · 4 comments

Comments

@CoderWZF
Copy link

CoderWZF commented Dec 6, 2019

LineChartView当模式设为LineChartModeCubicBezier,数据源都是0的情况会少绘制一条线
1575640254669

@CoderWZF
Copy link
Author

CoderWZF commented Dec 6, 2019

image

demo has the same issue

@CoderPby
Copy link

CoderPby commented Dec 7, 2019

I have the same problem,hope the author can fix it

@Andy1984
Copy link

Andy1984 commented Dec 11, 2019

How do you reproduce? Can you explain more? I did not reproduce in the demo, but it does look strange when I use LineChartModeCubicBezier. I do not understand the difference between horizontalBezier and cubicBezier. HorizontalBezier looks more correct to me.
你怎么复现的, 我在demo里没复现。 你可以试试HorizontalBezier模式,看起来更正确。

@liuxuan30
Copy link
Member

you have to either try multiple data sets or try what @Andy1984 said horizontalBezier instead of cubicBezier. What you mentioned in your screenshot is not the way bezier curves works.

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