Gradient transparency for line chart
Open
- Dominant language
- Swift
- Stars
- 28k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Hi there.
Is there any way to make chart gradient not transparent?
I have this code to set up a gradient now.
`let gradientColors = [UIColor.white.cgColor, UIColor.white.cgColor, chartColour.cgColor] as CFArray`
`let colorLocations:[CGFloat] = [1.0, 0.5, 0.0]`
And this is what I have:

And here is what I really need:

Is there any way to fix it? Thanks in advance.
Contributor guide
Assessment
This issue has not been assessed yet.