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

RadPieChart DoughnutSeries selection does not work

2 Answers 47 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Stevo
Top achievements
Rank 1
Stevo asked on 10 Feb 2014, 12:30 PM
Hi Guys,

we are showing a simple doughnut series chart and would like to implement drilldown after user selects a part

<telerik:RadPieChart>
            <telerik:RadPieChart.Series>
            <telerik:DoughnutSeries  ShowLabels="False" ItemsSource="{Binding Items}" ValueBinding="Value">
                    
                <telerik:DoughnutSeries.LabelDefinitions>
                        <telerik:ChartSeriesLabelDefinition Binding="Name"/>
                    </telerik:DoughnutSeries.LabelDefinitions>
 
                    <telerik:DoughnutSeries.LegendSettings>
                        <telerik:DataPointLegendSettings TitleBinding="Name" />
                </telerik:DoughnutSeries.LegendSettings>                  
 
                </telerik:DoughnutSeries>
            </telerik:RadPieChart.Series>
             
            <telerik:RadPieChart.Behaviors>
                <telerik:ChartSelectionBehavior DataPointSelectionMode="Single"
                                                SelectionChanged="ChartSelectionBehavior_SelectionChanged"   />
            </telerik:RadPieChart.Behaviors>
        </telerik:RadPieChart>

The ChartSelectionBehavior_SelectionChanged is never fired.

Note that this works fine with PieSeries, but does not work with DoughnutSeries

Any ideas?
Stevo

2 Answers, 1 is accepted

Sort by
0
Accepted
Petar Marchev
Telerik team
answered on 10 Feb 2014, 12:59 PM
Hello Stevo,

The issue you observed was fixed last week. Selection will work properly in the next official release, scheduled for the end of February. Until then you can manually set the IsHitTestVisible property of the series to true.

Regards,
Petar Marchev
Telerik

Check out the new Telerik Platform - the only modular platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native apps. Register for the free online keynote and webinar to learn more about the Platform on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT).

0
Stevo
Top achievements
Rank 1
answered on 12 Feb 2014, 04:55 PM
Thanks Petar that works!

Stevo
Tags
Chart
Asked by
Stevo
Top achievements
Rank 1
Answers by
Petar Marchev
Telerik team
Stevo
Top achievements
Rank 1
Share this question
or