RadPieChart DoughnutSeries selection does not work

3 posts, 1 answers
  1. Stevo
    Stevo avatar
    25 posts
    Member since:
    Jun 2013

    Posted 10 Feb 2014 Link to this post

    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. Answer
    Petar Marchev
    Admin
    Petar Marchev avatar
    968 posts

    Posted 10 Feb 2014 Link to this post

    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).

  3. UI for WPF is Visual Studio 2017 Ready
  4. Stevo
    Stevo avatar
    25 posts
    Member since:
    Jun 2013

    Posted 12 Feb 2014 in reply to Petar Marchev Link to this post

    Thanks Petar that works!

    Stevo
Back to Top