RatingChart.getSerieByVerticalOffset

Syntax

getSerieByVerticalOffset(Y: Number): PP.Ui.RatingChartSerie;

Parameters

Y. Offset is relatively beginning of the top row in pixels.

Description

The getSerieByVerticalOffset method returns rating chart data series by vertical coordinate.

Example

Executing the example requires that the page contains the RatingChart component named ratingChart (see Example of Creating the RatingChart Component). Get data series by its vertical coordinate, display name of the received data series in the console:

// Get data series
serie = ratingChart.getSerieByVerticalOffset(50);
// Display data series name
serie.getName();

After executing the example the console displays name of the received rating chart data series.

See also:

RatingChart