Series Class
The base class for all series which a Cartesian chart can display.
Declaration
public abstract class Series
extends SeriesBase
Inherited Members
Inheritance
Series()
Initializes a new Series class instance with default parameters.
Declaration
public Series()
Methods
getAxisX() Method
Declaration
public AxisX getAxisX()
Returns
Type |
---|
AxisX |
getAxisY() Method
Declaration
public NumericAxisY getAxisY()
Returns
Type |
---|
NumericAxisY |
getData() Method
Returns the Cartesian series
‘s data.
Declaration
public XYSeriesData getData()
Returns
Type | Description |
---|---|
XYSeriesData | An object that provides data points’ arguments and values. |
getHintOptions() Method
Returns the SeriesHintOptions object that specifies a series’s hint text parameters.
Declaration
public SeriesHintOptions getHintOptions()
Returns
Type | Description |
---|---|
SeriesHintOptions | The SeriesHintOptions object specifying a series-related hint options. |
setAxisX(AxisX) Method
Declaration
public void setAxisX(AxisX axis)
Parameters
Name | Type |
---|---|
axis | AxisX |
setAxisY(NumericAxisY) Method
Declaration
public void setAxisY(NumericAxisY axis)
Parameters
Name | Type |
---|---|
axis | NumericAxisY |
setData(XYSeriesData) Method
Specifies the Cartesian series
‘s data.
Declaration
public void setData(XYSeriesData data)
Parameters
Name | Type | Description |
---|---|---|
data | XYSeriesData | An object that provides data points’ arguments and values. |
Remarks
Note that the data provider type should be compatible with the chart x-axis type. Otherwise, the chart does not visualize series.
The following table represents compatible data interface and x-axis.
Data type | X-axis type |
---|---|
QualitativeSeriesData | QualitativeAxisX |
NumericSeriesData | NumericAxisX |
DateTimeSeriesData | DateTimeAxisX |
FinancialSeriesData | DateTimeAxisX |
setHintOptions(SeriesHintOptions) Method
Specifies the SeriesHintOptions object that specifies a series’s hint text parameters.
Declaration
public void setHintOptions(SeriesHintOptions options)
Parameters
Name | Type | Description |
---|---|---|
options | SeriesHintOptions | The SeriesHintOptions object specifying a series-related hint options. |