Skip to main content

DataSeriesExBase Class

The base class for series with arguments and values in chart types introduced in Microsoft Excel 2016.

Declaration

public abstract class DataSeriesExBase extends SeriesExBase

Remarks

The following classes derive from the DataSeriesExBase class: BoxAndWhiskerSeries, FunnelSeries, HistogramSeries, MapSeries, SunburstSeries, TreemapSeries, and WaterfallSeries.

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

Inherited Members

com.devexpress.system.JavaObject.clone()
com.devexpress.system.JavaObject.equals(java.lang.Object)
com.devexpress.system.JavaObject.hashCode()
com.devexpress.system.JavaObject.memberwiseClone()
com.devexpress.system.JavaObject.toString()
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)

Inheritance

Object
JavaObject
OfficeObject
SeriesExBase
DataSeriesExBase

DataSeriesExBase()

Initializes a new instance of the DataSeriesExBase class.

Declaration

public DataSeriesExBase()

Methods

getArguments() Method

Returns argument data of the series.

Declaration

public IChartArgumentData getArguments()

Returns

Type Description
IChartArgumentData

Argument data, or null if the series has no arguments.

getValues() Method

Returns value data of the series.

Declaration

public IChartValueData getValues()

Returns

Type Description
IChartValueData

Value data, or null if the series has no values.

setArguments(IChartArgumentData value) Method

Sets argument data of the series.

Declaration

public void setArguments(IChartArgumentData value)

Parameters

Name Type Description
value IChartArgumentData

Argument data.

Exceptions

Type Description
ArgumentException

Thrown if the value parameter contains hierarchical data and the series is not a treemap or sunburst series. The exception message is “Only Treemap and Sunburst series support hierarchical category data.”

Remarks

To bind arguments to chart data cells, pass a ChartDataReference object to the setArguments(value) method. To specify arguments in code, pass a ChartStringData or ChartNumericData object. If you pass a ChartNumericData object, the series stores the numbers as text, and the DataSeriesExBase.getArguments() method returns a ChartStringData object.

Treemap and sunburst series also accept hierarchical arguments (ChartHierarchicalStringData).

setValues(IChartValueData value) Method

Sets value data of the series.

Declaration

public void setValues(IChartValueData value)

Parameters

Name Type Description
value IChartValueData

Value data.

Remarks

To bind values to chart data cells, pass a ChartDataReference object to the setValues(value) method. To specify values in code, pass a ChartNumericData object.