A newer version of this page is available. Switch to the current version.

JavaScript/jQuery PieChart - Series

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

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

Fields that provide information on the series.

Methods

Methods used to control the series.

Name Description
clearSelection()

Cancels the selection of this particular series. The series is displayed in its initial style.

deselectPoint(point)

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

getAllPoints()

Gets all points in the series.

getColor()

Gets the color of a particular series.

getPointByPos(positionIndex)

Gets a series point with the specified index.

getPointsByArg(pointArg)

Gets a series point with the specified argument value.

getVisiblePoints()

Gets visible series points.

hide()

Hides a series at runtime.

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.