Skip to main content

Series Class

The base class for all series which a Cartesian chart can display.

Declaration

public abstract class Series
extends SeriesBase

Inherited Members

java.lang.Object.equals(java.lang.Object)(Object)
java.lang.Object.hashCode()()
java.lang.Object.notify()()
java.lang.Object.notifyAll()()
java.lang.Object.toString()()
java.lang.Object.wait()()
java.lang.Object.wait(long)(long)
java.lang.Object.wait(long, int)(long,int)

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.

See Also

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
See Also

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.