React 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()

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.

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.