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

Point

This section describes the Point object, which represents a series point.

Type:

Object

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

To get the required point of a particular series, use the series functions (e.g., getAllPoints(), getPointsByArg(pointArg)).

Fields

Fields that provide information on the series point.

Methods

Methods used to control the series point.

Name Description
clearHover()

Switches the point from the hover state back to normal.

clearSelection()

Deselects the point.

getColor()

Gets the color of a particular point.

getLabel()

Allows you to obtain the label of the series point.

hideTooltip()

Hides the tooltip of the point.

hover()

Switches the point 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 point.

isSelected()

Provides information about the selection state of a point.

select()

Selects the point. The point is displayed in a 'selected' style until another point is selected or the current point is deselected programmatically.

showTooltip()

Shows the tooltip of the point.