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
735
ColumnChart3D double click row index for Others slice
posted

I have ColumnChart and ColumnChart3D, both having Others slice which has been automatically merged by the control. When I do the double click over the Others slice, it returns me difference row index (e.DataRow).

For example, the original data has 10 buckets, and the control merges three original small buckets into the Others bucket, so the total of buckets becomes 10-3+1= 8. In the double click event handler, if I double click on the Others slice, for ColumnChart, it gives me values of 10 for e.DataRow, whereas for ColumnChart3D, it gives me index of 9 which is one of the three original merged buckets.

I can use the index of 10 as a indicator for merged bucket for special handling. But for index of 9, since it's within the orignal bound, how do I decide it's coming from the merged bucket? How can I unify the handling for double click event on the merged slice?

 Thanks.

Zongwen

 

  • 28496
    Offline posted

    the 3D pie chart actually uses the "last missed row" for the row of the others slice.  in other words, the last row in your datasource where the value is < otherscategorypercent.