Angular PieChart - Label

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

import { DxChartTypes } from "devextreme-angular/ui/chart"
Type: DxChartTypes.baseLabelObject

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.

shift(x, y)

Moves label to the specified location.

show()

Shows the point label.

show(holdVisible)

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