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

Is it possible to draw a chart like this? #3097

Closed
hihelloluigi opened this issue Dec 13, 2017 · 1 comment
Closed

Is it possible to draw a chart like this? #3097

hihelloluigi opened this issue Dec 13, 2017 · 1 comment

Comments

@hihelloluigi
Copy link

Hi I need an advice. I have to do a chart in my app and I was looking the library examples but I didn't find one like my attachment. Is it possible to do that with this library?
schermata 2017-12-13 alle 17 49 34 2

@liuxuan30
Copy link
Member

liuxuan30 commented Dec 14, 2017

Because this is not a very common chart?
If goes for line chart,
Just find a way to generate those small filling rects so you are good to go.

If goes for bar chart:
override bar chart renderer, by changing how it generate the barRect. It's just a matter that you give more data for each bar, and you manually connect those dots to be the new bar.

About the color, and other stuff, similar, but requires you override lots of things and add some new methods to draw exactly the same.

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