Does SelectedIndex binding on PieSeries working?

I am trying to bind SelectedIndex for PieSeries like below. but it doesnt work for me. using SelectionChanged event seems to be working but i dont get why Binding is not working?

<chart:PieSeries.SelectionBehavior>
<chart:DataPointSelectionBehavior SelectedIndex="{Binding SelectedIndex}" Type="Single" />
</chart:PieSeries.SelectionBehavior>

1 Reply

VR Vallarasu Ravichandran Syncfusion Team January 9, 2026 10:02 AM UTC

Hi Emil,

 

Thank you for reaching out and sharing the details.

 

We checked this behavior on our end and confirmed that the SelectedIndex binding works correctly for PieSeries. The issue you’re seeing is not with the binding but with the lack of visual feedback.

In your snippet, a SelectionBrush is not defined. Without it, the segment is selected internally, but the UI does not show the selection. To make the selection visible, you need to set a SelectionBrush, like below:

 

[Xaml]

<chart:PieSeries.SelectionBehavior>

    <chart:DataPointSelectionBehavior

                  SelectedIndex="{Binding SelectedIndex}"

                  SelectionBrush="Red"

                  Type="Single"/>

</chart:PieSeries.SelectionBehavior>

 

You can find more details about enabling and customizing selection behavior in the official documentation:

Selection in .NET MAUI Chart control | Syncfusion

Selection Customization in .NET MAUI Chart control | Syncfusion


We hope this explanation makes things clear. Please check the attached sample and let us know if you need further assistance.

 

Regards,

Vallarasu R.


Attachment: PieChartSample_4642c253.zip

Loader.
Up arrow icon