I cannot get SCILinearGradientBrushStyle working on a donut chart. Only radial gradients work
Here is my code sample:
let segment = SCIPieSegment()
segment.fillStyle = SCILinearGradientBrushStyle(colorCodeStart: 0xff007aff, finish: 0x4D007aff, direction: .horizontal)
segment.value = 100.0
segment.title = "Segment"
donutSeries.segments.add(segment)
The segment just renders a flat color
- Ryan Chesla asked 5 years ago
- last edited 5 years ago
- You must login to post comments
Hello Ryan,
Thanks for writing for us. Unfortunately you can fill pie/donut with solid brush or radial gradient brush only at the moment.
Anyways, you might want to submit a feature request if that’s the feature you need – https://www.scichart.com/feedback-policy/
Best Regards,
Nazar R.
SciChart Developer
- Nazar Rudnyk answered 5 years ago
- last edited 5 years ago
- You must login to post comments
Please login first to submit.