This is a migrated thread and some comments may be shown as answers.

PieChart Selection Behavior

1 Answer 108 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Brian
Top achievements
Rank 2
Brian asked on 14 Nov 2014, 05:03 PM
It seems like the selection behavior does not work for RadPieChart.  It works for a Bar Series, but not PieSeries.

var chart = new RadPieChart();
            
            var selectionBehavior = new ChartSelectionBehavior { DataPointSelectionMode = ChartSelectionMode.Single, SeriesSelectionMode = ChartSelectionMode.Single  };
            selectionBehavior.SelectionChanged += (a, b) =>
            {
                DisplayAlert("SelectionChanged", "You have selected an item", "OK");
            };

            chart.Behaviors.Add(selectionBehavior);

            var series = CreatePieSeries();

            chart.Series.Add(series);

1 Answer, 1 is accepted

Sort by
0
Vladislav
Telerik team
answered on 18 Nov 2014, 11:54 AM
Hi Brian,

Thank you for this report.

We confirm that this is bug in our RadPieChart control. It is logged here, where you can track its progress and vote for it.

Your Telerik points are updated accordingly.

Regards,
Vladislav
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Chart
Asked by
Brian
Top achievements
Rank 2
Answers by
Vladislav
Telerik team
Share this question
or