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:
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)
Inheritance
Object
ChartElement
StyledElement
SeriesBase
Series
FinancialSeries
CandleStickSeries
CandleStickSeries()
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. |