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

JavaScript/jQuery Chart Chart Elements

This section describes chart elements.

Axis

This section describes the Axis object. This object represents a chart axis.

import { chartAxisObject } from "devextreme/viz/chart"
Type:

Object

You can call one of the following Chart instance methods to access this object:

Alternatively, you can call one of the following Series object methods:

Label

This section describes the Label object, which represents a point label.

import { baseLabelObject } from "devextreme/viz/chart"
Type:

Object

To use members described in this section, you need to obtain the point label. To do this, use the getLabel() method of a Point object.

Point

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

import { chartPointObject } from "devextreme/viz/chart"
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)).

Series

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

import { chartSeriesObject } from "devextreme/viz/chart"
Type:

Object

When you get a series as a function's return value, or a callback function parameter, you can use the members of the Series object.

To get the required series, use the chart's functions (e.g., getAllSeries(), getSeriesByName(seriesName)).