JavaScript/jQuery PieChart - Label.Methods
Methods used to control the point label.
getBoundingRect()
Gets the parameters of the label's minimum bounding rectangle (MBR).
Return Value:
An object with the following content: { x: numeric, y: numeric, height: numeric, width: numeric }.
The object returned by this method contains the X and Y coordinates of the upper-left corner of the MBR. These coordinates are relative to the client area (UI component's container). Additionally, the returned object contains the height and width of the MBR.
hide()
Hides the point label.
NOTE
If your use-case involves UI component rerendering, a label's visibility state may be reset. To keep the state, call this method with true as an argument.
hide(holdInvisible)
Hides the point label and keeps it invisible until the show() method is called.
Parameters:
holdInvisible:
Specifies whether to keep the point label invisible.
isVisible()
Checks whether the point label is visible.
Return Value:
true if the point label is visible; otherwise false.