Skip to main content

ISunburstDataLabels Interface

Contains data label settings for a sunburst series.

Declaration

public interface ISunburstDataLabels extends IDataLabelsEx

Remarks

Call the SunburstSeries.getDataLabels() method to access data label settings for a sunburst series.

Refer to the following help topic for additional information: Customize Chart Data Labels — Presentation API for Java.

Implements

Methods

getLabel(int key) Method

Returns settings for the data label of the specified data point.

Declaration

public abstract SunburstDataLabel getLabel(int key)

Parameters

Name Type Description
key int

The zero-based index of the data point.

Returns

Type Description
SunburstDataLabel

Data label settings, or null if the data point has no individual data label settings.

setLabel(int key, SunburstDataLabel value) Method

Sets settings for the data label of the specified data point.

Declaration

public abstract void setLabel(int key, SunburstDataLabel value)

Parameters

Name Type Description
key int

The zero-based index of the data point.

value SunburstDataLabel

Data label settings.

Remarks

Pass a SunburstDataLabel object to the setLabel(key, value) method to format the data label of an individual data point.

To remove individual data label settings, call the remove(key) method of the ISunburstDataLabels object.