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

I want to add 4 colours to the background of the chart. The colour zones depend on the y values. #2079

Closed
dhruv-jindal opened this issue Jan 16, 2017 · 6 comments

Comments

@dhruv-jindal
Copy link

What I want is something like this in the below pic :

screenshot_2017-01-16-10-13-42

@dhruv-jindal
Copy link
Author

dhruv-jindal commented Jan 16, 2017

I am using your Android Version of the chart library in the above pic. I want this for the iOS Version.

@liuxuan30
Copy link
Member

liuxuan30 commented Jan 17, 2017

Dup to #2073

grid color stripe is not supported yet. However, you can add your own methods in drawExtra() or override some methods, to draw color grid. You can refer how the limit line/grid line is drawn, and you would know the coordinates to draw your rect then.

@dhruv-jindal
Copy link
Author

Thank you for the reply. I will try that solutions of yours.

@sheasy95
Copy link

Hi.

Did you have any luck in finding a solution for this issue ? My requirements are quite similar to yours and any help would be great !

Thanks

@thierryH91200
Copy link
Contributor

look at Grid background #645 i think that this is the same problem but with the soluce

@sheasy95
Copy link

Great will look into it now thank you !

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