Series

This section describes the fields and methods that can be used in code to manipulate the Series object.

Type:

Object

When you get a series as the return value of a function, or a callback function parameter, you can use the members of the Series object.

To get the required series, use the chart's function getAllSeries().

Fields

This section describes the fields that can be used in code to manipulate the Series object.

Methods

This section describes the methods that can be used in code to manipulate the Series object.

Name Description
clearSelection()

Unselects all the selected points of the series. The points are displayed in an initial style.

deselectPoint(point)

Deselects the specified point. The point is displayed in an initial style.

getAllPoints()

Returns an array of all points in the series.

getColor()

Gets the color of a particular series.

getPointByPos(positionIndex)

Gets a point from the series point collection based on the specified point position.

getPointsByArg(pointArg)

Gets points from the series point collection based on the specified argument.

getVisiblePoints()

Returns visible series points.

hide()

Hides a series.

isHovered()

Provides information about the hover state of a series.

isSelected()

Provides information about the selection state of a series.

isVisible()

Provides information about the visibility state of a series.

select()

Selects the series. The series is displayed in a 'selected' style.

selectPoint(point)

Selects the specified point. The point is displayed in a 'selected' style.

show()

Makes a particular series visible.