The requested page is not available for the requested platform. You are viewing the content for Default platform.

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)
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)
java.lang.Object.wait(long, int)

Constructors

Series() Constructor

Initializes a new Series class instance with default parameters.

Declaration

public Series()

Methods

getAxisX() Method

Declaration

public AxisX getAxisX()

Returns

Type Description
AxisX

getAxisY() Method

Declaration

public NumericAxisY getAxisY()

Returns

Type Description
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 Description
axis AxisX

setAxisY(NumericAxisY) Method

Declaration

public void setAxisY(NumericAxisY axis)

Parameters

Name Type Description
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.