Unplanned
Last Updated: 18 Oct 2023 14:26 by ADMIN
Rafael
Created on: 17 Oct 2023 14:24
Category: Chart
Type: Bug Report
0
Chart: [Android] Donut/PieSeries SelectedPointOffset not working properly

Hi

I have the following chart

      <telerik:RadPieChart Grid.Row="1">
        <telerik:RadPieChart.Series>
          <telerik:DonutSeries ItemsSource="{Binding CurrencyAllocation}" x:Name="CurrSeries"
                               LabelBinding="Item1"
                               ValueBinding="Item2"
                               ShowLabels="True"
                               AllowSelect="True"
                               SelectedPointOffset="0.1"/>
        </telerik:RadPieChart.Series>
        <telerik:RadPieChart.ChartBehaviors>
          <telerik:ChartSelectionBehavior DataPointSelectionMode="Single"
                                          SeriesSelectionMode="None"
                                          SelectionChanged="Chart_SelectionChanged" />
        </telerik:RadPieChart.ChartBehaviors>
      </telerik:RadPieChart>

As soon as I set the SelectedDataPointOffset to a lowish value, no matter whether it's 0.5, 0.1, 0.01, 0.001 or even 0.0000001, the offset when selecting the data point is always the same and it's so large that it's unusable, as you can see in the following screenshot.

 

As an additional issue, if i set the offset to 0.9, i get an exception

'RelativeOffsetFromCenter is not valid! The possible values are in the [0, 1] interval.'

as soon as I select a segment. 0.9 obviously is in the [0, 1] interval.

 

 

1 comment
ADMIN
Didi
Posted on: 18 Oct 2023 14:26

Hello Rafael,

Thank you for the provided details.

I confirm this is an issue in the Pie/Donut series. I have changed the status of the item to Unplanned.

For now, I cannot suggest a workaround for this behavior.

Regards,
Didi
Progress Telerik

A brand new .NET MAUI course was just added to the Virtual Classroom. The training course is developed to help you get started with the Telerik UI for .NET MAUI components and features. It aims to put you in the shoes of an engineer who adds new features to an existing application. You can check it out at https://learn.telerik.com