JavaScript/jQuery Chart - Series

This section describes the Series object, which represents a series.

Type:

Object

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

To get the required series, use the chart's functions (e.g., getAllSeries(), getSeriesByName(seriesName)).

Fields

Fields that provide information on the series.

Methods

Methods used to control the series.

Name Description
clearHover()

Switches the series from the hover state back to normal.

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 at runtime.

hover()

Switches the series into the hover state, the same as when a user places the mouse pointer on it.

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.

selectPoint(point)

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

show()

Makes a particular series visible.