Vue PieChart - Point

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

Type:

Object

When you get a point as the 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 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.

hide()

Hides a specific 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.

isVisible()

Provides information about the visibility 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.

show()

Makes a specific point visible.

showTooltip()

Shows the tooltip of the point.