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

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

Remarks

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

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.

setStyle(CandleStickSeriesStyle) Method

Specifies the Candle Stick series's appearance parameters.

Declaration

public void setStyle(CandleStickSeriesStyle style)

Parameters

Name Type Description
style CandleStickSeriesStyle

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