syncfusion / flutter-examples

This repository contains the Syncfusion Flutter UI widgets examples and the guide to use them.
Other
1.98k stars 775 forks source link

SfCircularChart: DoughnutSeries how can i add spacing/ white lines between sections. Flutter #811

Closed Samamoah closed 1 year ago

Samamoah commented 1 year ago

I see this in the documentation. How can I achieve this with the spacing/lines between each section. I don't want to use explode doughnut_colormapping

sfHariHaraSudhan commented 1 year ago

Hi @Samamoah,

You can achieve your mentioned requirement by using the stroke color property and stroke width property of the Doughnut Series and we have shared the sample code link below for the Doughnut Series Color Mapping in the sample browser for your reference.

Sample Code: Flutter Sample in Github for Doughnut Series Color Mapping. SB: https://flutter.syncfusion.com/#/circular-charts/chart-types/doughnut/color-mapping

In this sample, to show the line gap between the segments, the stoke color property and stroke width property is used instead of using the explode property. If you have further queries, please get back to us.

Regards, Hari Hara Sudhan. K.

Samamoah commented 1 year ago

Thank you