Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
200
3d pie chart number of slices
posted

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

 

Parents
No Data
Reply
  • 48586
    Verified Answer
    posted

    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.

    90644.zip
Children