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

Multiple colours on single bar. #39

Closed
kalyan711987kalyan opened this issue May 16, 2017 · 2 comments
Closed

Multiple colours on single bar. #39

kalyan711987kalyan opened this issue May 16, 2017 · 2 comments

Comments

@kalyan711987kalyan
Copy link

How to add multiple colours on same bar. Based on bar percentage , i need to show the colours.
60% of bar with one colour, other 40% of bar with another colour

@kalyan711987kalyan kalyan711987kalyan changed the title Multiple colors on signle bar. Multiple colours on single bar. May 16, 2017
@ZhipingYang
Copy link
Owner

chartLine is a property of UUBar whitch is a CALayer class. so If you want to show different colors on this, just add and config two sublayers.

have fun!

@kalyan711987kalyan
Copy link
Author

Thanks, will try.

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