paulguz Report post Posted August 26, 2014 Hi, In my collaboration tool, I need to capture the slice event and programatically slice the same chart on a different browser. The function slicePlotItem() requires an index for the data item to be sliced, but the data argument of slicingStart (or slicingEnd) does not contain this index. How do you suggest determining the index of the sliced data? Thanks, Paul Share this post Link to post Share on other sites
Nabajeet Report post Posted August 28, 2014 Hi Paul, To get the index of the sliced data you can use 'dataplotClick' event in place of slicingStart (or slicingEnd).Please check out this fiddle:http://jsfiddle.net/nabajeet_fusioncharts/b533S/4/For more info on this please search dataplotClick in:http://docs.fusioncharts.com/FusionCharts.htmlHope this helps Share this post Link to post Share on other sites
paulguz Report post Posted August 28, 2014 Thanks Nabajeet, The problem with that event is that the 'isSliced' property of argObj is always false. See http://jsfiddle.net/b533S/5/. I note that this property isn't documented, so it maybe isn't quite a bug. Paul Share this post Link to post Share on other sites
Swarnam Report post Posted August 30, 2014 Hi Paul, "dataplotClick" event retrieves the values from the data source available while chart is being rendered. Try this http://jsfiddle.net/b533S/8/ one of the element is being enabled with isSliced property. Share this post Link to post Share on other sites
paulguz Report post Posted September 2, 2014 Swarnam, Yes, isSliced in dataPlotClick does not seem to report the sliced state at the time of clicking, only the initial state of the slice. I need to know the state immediately after the click, hence my use of slicingStart and slicingEnd. My solution to getting the index is to store the state of all slices in slicingStart, then compare with the states in slicingEnd. See my post in General Usage. However, providing the index in slicingStart and slicingEnd would remove the need for this. Please include this in the future. Share this post Link to post Share on other sites
Nabajeet Report post Posted September 3, 2014 Hi, Please refer to this post: http://forum.fusioncharts.com/topic/16096-getting-chart-slice-index/ Share this post Link to post Share on other sites