React Chart - Point

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

import { ChartTypes } from "devextreme-react/chart"
Type: ChartTypes.chartPointObject

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.

getBoundingRect()

Gets the parameters of the point's minimum bounding rectangle (MBR).

getColor()

Gets the color of a particular point.

getLabel()

Allows you to obtain the label(s) 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.