-
-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Adding a gradient to bar charts #1065
Comments
Hi @ricburton Seems your need gradient color bar, recently I got an same requirement like that, so I wrote GradientBarChartRenderer for that function, hope this can help you or give you some prompt 😄 GradientBarChartRenderer.swift
How to used
Swift
also you can check this commit on my Charts repo: -Jack |
hmm, this seems requires us to refactor the bar rect logic. Make it as a single func so we can add rounding corer or gradients? |
Wow thanks so much! I will play with this. |
It works fine in @wjacker 's solution. |
Hi @wjacker , Thanks, |
implemented in #3533 |
That code is not working as an extension, It is giving me a lot of error. |
Hi everyone,
Really loving this library. I want to create a bar chart that looks like this:
I have searched through all of the issues, read through the API, and I looked around GitHub for examples .
Really appreciate your time!
The text was updated successfully, but these errors were encountered: