My requirement is to get the selected slice color of the cake when the user clicks on it. It would be nice if I could do this as part of the following function:
$('#chart1').bind('jqplotDataClick', function (ev, seriesIndex, pointIndex, data) { alert("ev = " + ev + " seriesIndex = " + seriesIndex + "pointIndex = " + pointIndex + "data = " + data); });
Any ideas? Thanks.
source share