PointClick: function(sender, args);
sender. Event source.
args. Event information. Available arguments: Name - name of selected data series, Value - corresponding value, Index - series position.
The PointClick event occurs on clicking on a data series in rating chart.
Replace the SelectionStart event handler in the example given on the page with the RatingChart.getSelection method description, with the following code snippet:
// Process the PointClick event ratingChart.PointClick.add(function (sender, args) { // Directly set new style for the selected series ratingChart.setStyleToSerie(args.Index, selectedStyle); });
Thus, the event of clicking on a data series in rating chart (PointClick) will be handled. The result of the modified example remains the same.