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
Inheritance
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 |
getValues() Method
Returns value data of the series.
Declaration
public IChartValueData getValues()
Returns
| Type | Description |
|---|---|
| IChartValueData | Value data, or |
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 |
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.