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

[Solved] Selection in DoughnutSeries

1 Answer 113 Views
Chart for XAML
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Kevin
Top achievements
Rank 1
Kevin asked on 14 Nov 2012, 08:46 PM
It appears that selecting a portion of a DoughnutSeries is not functioning correctly. I saw from the Telerik Controls Examples app that you can select a portion of a PieChart, so I tried mimicking that functionality, but it did not work. I was able to select the whole chart - the whole chart got enlarged/shrunk when I click on it, but I was not able to select only a portion of it. Is selecting a portion of a DoughnutSeries possible?
---------------------------

So far, I have found several behaviors:

1. If a portion's value percentage is significantly small, it is impossible to select the portion - for example, if I have 10, 20, and 100 as a set, I cannot select the portions represent 10 and 20. Instead, the larger portion (100) gets selected.
2. When the value set was 10, 50, and 90, I was able to select 50 when I clicked the outer line of the portion. When I clicked the inner part of the 50 or any part of 10, the portion for 90 was selected.
3. It seems that clickable area for a portion is not matching with the actual shape of the pie (or doughnut). If a portion occupies near or over 50% of the entire doughnut, the clickable area of that portion seems to cover the other area as well.
4. When I reordered the numbers in the item source to be large to small, I was able to select all 3 portions.

Is this fixable?
-------------------------

In addition, I am not able to interact with the selection. Selecting a portion makes the number text to pop in and out (not the graph itself, but just text), but it does not trigger any type of event or change of property. How can I catch the click action?

1 Answer, 1 is accepted

Sort by
0
Tsvyatko
Telerik team
answered on 15 Nov 2012, 08:12 AM
Hi Kevin,

Thank you for reporting this issues. We were able to reproduce the problems from our side. It seems that they are related to some specifics in the hit test system in WinRT that result in faulty behaviour.  We are considering them with high priority and we will do our best to include the fix in our next internal build.

Please, excuse us for the inconvenience caused.

P.S. I have updated your telerik points.

Regards,
Tsvyatko
the Telerik team
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Tags
Chart for XAML
Asked by
Kevin
Top achievements
Rank 1
Answers by
Tsvyatko
Telerik team
Share this question
or