Skip to main content

IBar3DDataLabels Interface

Contains data label settings for a 3D bar series.

Declaration

public interface IBar3DDataLabels extends IDataLabels

Remarks

Call the Bar3DSeries.getDataLabels() method to access data label settings for a 3D bar 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 Bar3DDataLabel getLabel(int key)

Parameters

Name Type Description
key int

The zero-based index of the data point.

Returns

Type Description
Bar3DDataLabel

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

setLabel(int key, Bar3DDataLabel value) Method

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

Declaration

public abstract void setLabel(int key, Bar3DDataLabel value)

Parameters

Name Type Description
key int

The zero-based index of the data point.

value Bar3DDataLabel

Data label settings.

Exceptions

Type Description
ArgumentNullException

Thrown if the value parameter is null and the series is in a presentation.

Remarks

Pass a Bar3DDataLabel 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 IBar3DDataLabels object.