Pre loader

SCILinearGradientBrushStyle Not working on donut chart

0
0

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

Version
The latest
  • You must to post comments
0
0

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

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies