Hi,
I will wonder if someone explains me "OthersCategoryThreshold" and "OthersCategoryType" properties in the XamPieChart. I checked these properties in the Feature Browser but I did not understand that by which criteria the slices are combined in one slice.In Feature Browser If I set the threshold to 1 then the two smallest slices are combined into one and then I increase the threshold by 1 which becomes 2 then 5 smallest slices are combined into one slice and if I set the threshold to 3 then only six smallest slices become together.
I don't find any pattern.
Actually our requirement is that we have too many slices in the chart, For example every slice represents a region and we have too many regions in our list. now what we want to show is only top 5 (large slices) and all the renaming we want under the Other category, we change the top n selection dynamically.
Could some one please explain that by using the threshold and the threshold type how can we achieve this.
Any kind of help will be highly appreciated.
thanks and regards
Any.
Hello,
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.
Thank you for your post. I have been looking into it and I can say that the OthersCategoryThreshold determines, which DataPoints should be grouped. Its value is used to group all DataPoints, which values are smaller or equals to this Property value. The OthersCategoryType Property has two possible values - Number and Percent, and it specifies how the grouping into the others slice is calculated. Here you can read more about this Enumeration:
http://help.infragistics.com/NetAdvantage/WPF/2011.2/CLR4.0/?page=InfragisticsWPF4.Controls.Charts.XamDataChart.v11.2~Infragistics.Controls.Charts.OthersCategoryType.html
Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.