RatingChart.PointClick

Syntax

PointClick: function(sender, args);

Parameters

sender. Event source.

args. Event information. Available arguments: Name - name of selected data series, Value - corresponding value, Index - series position.

Description

The PointClick event occurs on clicking on a data series in a rating chart.

Example

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);
});

Therefore, the event of clicking on a data series in a rating chart (PointClick) will be handled. The result of the modified example remains the same.

RatingChart