CandleStickSeries Class

A series where each point consists of a rectangle (the Open and Close values specify the body) and a vertical line (the Low and High values specify the tail).

Declaration

public class CandleStickSeries
extends FinancialSeries

The body is green if the stock closes higher than its opening price. Otherwise, the body is red.

The following image demonstrates the Candle Stick series:

CandleStickSeries

Constructors

CandleStickSeries() Constructor

Initializes a new CandleStickSeries class instance with default parameters.

Declaration

public CandleStickSeries()

Methods

CandleStickSeries.getStyle() Method

Returns the Candle Stick series's appearance parameters.

Declaration

public CandleStickSeriesStyle getStyle()

Returns

Type Description
CandleStickSeriesStyle

The CandleStickSeriesStyle object that configures the Candle Stick series's appearance.

CandleStickSeries.setStyle(CandleStickSeriesStyle) Method

Specifies the Candle Stick series's appearance parameters.

Declaration

public void setStyle(CandleStickSeriesStyle style)

Parameters

Type Name Description
CandleStickSeriesStyle style

The CandleStickSeriesStyle object that configures the Candle Stick series's appearance.