FinancialSeriesData Interface

A class that provides financial data points should implement this interface.

Declaration

public interface FinancialSeriesData
extends XYSeriesData

Note that this interface should be used only for StockSeries and CandleStickSeries.

Implements

Methods

Constructors

FinancialSeriesData.getArgument(int) Method

Returns the data point's argument at the specified index.

Declaration

public Date getArgument(int index)

Parameters

Type Name Description
int index

The series point's index.

Returns

Type Description
Date

The Date object specifying an argument.

FinancialSeriesData.getCloseValue(int) Method

Returns The data point's close value at the specified index.

Declaration

public double getCloseValue(int index)

Parameters

Type Name Description
int index

The series point's index.

Returns

Type Description
double

The double value specifying a close value.

FinancialSeriesData.getDataCount() Method

Declaration

public int getDataCount()

Returns

Type Description
int

FinancialSeriesData.getHighValue(int) Method

Returns The data point's high value at the specified index.

Declaration

public double getHighValue(int index)

Parameters

Type Name Description
int index

The series point's index.

Returns

Type Description
double

The double value specifying a high value.

FinancialSeriesData.getLowValue(int) Method

Returns the data point's low value at the specified index.

Declaration

public double getLowValue(int index)

Parameters

Type Name Description
int index

The series point's index.

Returns

Type Description
double

The double value specifying a low value.

FinancialSeriesData.getOpenValue(int) Method

Returns the data point's open value at the specified index.

Declaration

public double getOpenValue(int index)

Parameters

Type Name Description
int index

The series point's index.

Returns

Type Description
double

The double value specifying an open value.