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

JavaScript/jQuery PieChart - 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.

Methods

Methods used to control the point label.

Name Description
getBoundingRect()

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

hide()

Hides the point label.

hide(holdInvisible)

Hides the point label and keeps it invisible until the show() method is called.

isVisible()

Checks whether the point label is visible.

show()

Shows the point label.

show(holdVisible)

Shows the point label and keeps it visible until the hide() method is called.