Skip to main content

IChartValueData Interface

Value data of a chart series.

Declaration

public interface IChartValueData

Remarks

Pass an IChartValueData object to the SeriesBase.setValues(value) or DataSeriesExBase.setValues(value) method to specify series values.

The following classes implement the IChartValueData interface:

Refer to the following help topic for additional information: Load Data into Charts — Presentation API for Java.

Methods

cloneValueData() Method

Creates a copy of the value data.

Declaration

public abstract IChartValueData cloneValueData()

Returns

Type Description
IChartValueData

A copy of the value data.

getExpression(IChartDataContext context) Method

Returns the reference expression of the value data.

Declaration

public abstract String getExpression(IChartDataContext context)

Parameters

Name Type Description
context IChartDataContext

An object that returns sheet names for sheet indexes.

Returns

Type Description
String

The reference expression, or null if the value data does not refer to cells.

getNumericValues() Method

Returns numeric values.

Declaration

public default List<Double> getNumericValues()

Returns

Type Description
java.util.List<java.lang.Double>

Numeric values, or null if the value data is not a ChartNumericData object.

getType() Method

Returns the type of the value data.

Declaration

public abstract ChartDataType getType()

Returns

Type Description
ChartDataType

The data type.