Is there a way of returning the number of slices? Currently we have a pie chart that is broken on percentages, with an 'Other' cutoff of 5%. While this works for many accounts, we have a few that this does not work for, as the largest percentage is 2.8%, setting the percentage even lower returns a HUGE number of slices, making the chart unreadable.
What I am trying to do, is create a catch on the chart that if it returns more than x number of slices, then it will display an error panel that will direct the user to a custom report.
Thanks
Hello,
As far as I understand you want to get the count of visible slices of 3DPieChart, so what you could do in this case is to handled CharttDrawItem and to count the numbers of slices which is drawing. I have created a small sample in order to demonstrate this approach. Please run the sample, in the sample UltraGrid and UltraChart shared same data source, so you could make change onto UltraGrid and this will affect UltraChart. Press “Get visible slices count” button, in order to get the count of visible slices.
Please let me know if you have any further questions.
Thank you for the reply, I'll try out your solution tomorrow as I was out of the office today and didn't get a chance to play with it today.
James
Hello,
I am just checking about the progress of this issue. Let me know If you need my further assistance on this issue?
Thank you for using Infragistics Components.
yes, your solution worked for what I needed, thanks for the assistance.
James Johnson
MDX