|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.klg.jclass.chart.JCCandleChartFormat
Class that manages properties and convenience methods specific to candle charts.
Candle charts take the y values of 4 data series to construct each "logical" candle series. The number of data points defines the number of candles in each row.
Note: The methods in this class use the logical candle series index instead of the actual series index, in order to make programming candle styles more convenient.
Field Summary | |
protected static int |
CANDLE_OUTLINE_INDEX
|
protected boolean |
complex
|
protected static int |
FALLING_CANDLE_INDEX
|
protected com.klg.jclass.chart.ChartDataView |
parent
|
protected static int |
RISING_CANDLE_INDEX
|
Constructor Summary | |
JCCandleChartFormat()
|
|
JCCandleChartFormat(com.klg.jclass.chart.ChartDataView p)
|
Method Summary | |
com.klg.jclass.chart.JCChartStyle |
getCandleOutlineStyle(int index)
Gets the JCChartStyle that controls the candle outline style of
the complex candle chart. |
com.klg.jclass.chart.JCChartStyle |
getFallingCandleStyle(int index)
Gets the JCChartStyle that controls the falling candle style of
the complex candle chart. |
com.klg.jclass.chart.JCChartStyle |
getHiloStyle(int index)
Gets the JCChartStyle that controls the candle style of the
simple candle or the HiLo line of the complex candle chart. |
com.klg.jclass.chart.ChartDataView |
getParent()
|
com.klg.jclass.chart.JCChartStyle |
getRisingCandleStyle(int index)
Gets the JCChartStyle that controls the rising candle style of
the complex candle chart. |
boolean |
isComplex()
Gets the Complex property of the candle chart; this
property determines whether the candle is a simple or complex candle. |
void |
setCandleOutlineStyle(int index,
com.klg.jclass.chart.JCChartStyle value)
Sets the candle style of the candle outline style of the complex candle chart. |
void |
setComplex(boolean b)
Sets the Complex property of the candle chart; this
property determines whether the candle is a simple or
complex candle. |
void |
setFallingCandleStyle(int index,
com.klg.jclass.chart.JCChartStyle value)
Sets the candle style of the falling candle style of the complex candle chart. |
void |
setHiloStyle(int index,
com.klg.jclass.chart.JCChartStyle value)
Sets the candle style of the simple candle or the HiLo line of the complex candle chart. |
void |
setParent(com.klg.jclass.chart.ChartDataView cdv)
|
void |
setRisingCandleStyle(int index,
com.klg.jclass.chart.JCChartStyle value)
Sets the candle style of the rising candle style of the complex candle chart. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final int RISING_CANDLE_INDEX
protected static final int FALLING_CANDLE_INDEX
protected static final int CANDLE_OUTLINE_INDEX
protected boolean complex
protected com.klg.jclass.chart.ChartDataView parent
Constructor Detail |
public JCCandleChartFormat()
public JCCandleChartFormat(com.klg.jclass.chart.ChartDataView p)
Method Detail |
public void setParent(com.klg.jclass.chart.ChartDataView cdv)
setParent
in interface JCChartTypeFormat
public boolean isComplex()
Complex
property of the candle chart; this
property determines whether the candle is a simple or complex candle.
true
if complex.public void setComplex(boolean b)
Complex
property of the candle chart; this
property determines whether the candle is a simple or
complex candle.
b
- if true
, the chart is a complex candle;
otherwise, the chart is a simple candle.public com.klg.jclass.chart.JCChartStyle getHiloStyle(int index)
JCChartStyle
that controls the candle style of the
simple candle or the HiLo line of the complex candle chart.
index
- logical candle series (not the actual data series)
JCChartStyle
object.public void setHiloStyle(int index, com.klg.jclass.chart.JCChartStyle value)
index
- logical candle series (not the actual data series)value
- JCChartStyle
object containing the desired stylepublic com.klg.jclass.chart.JCChartStyle getRisingCandleStyle(int index)
JCChartStyle
that controls the rising candle style of
the complex candle chart.
index
- logical candle series (not the actual data series)
JCChartStyle
object.public void setRisingCandleStyle(int index, com.klg.jclass.chart.JCChartStyle value)
index
- logical candle series (not the actual data series)value
- JCChartStyle
object containing the desired stylepublic com.klg.jclass.chart.JCChartStyle getFallingCandleStyle(int index)
JCChartStyle
that controls the falling candle style of
the complex candle chart.
index
- logical candle series (not the actual data series)
JCChartStyle
object.public void setFallingCandleStyle(int index, com.klg.jclass.chart.JCChartStyle value)
index
- logical candle series (not the actual data series)value
- JCChartStyle
object containing the desired stylepublic com.klg.jclass.chart.JCChartStyle getCandleOutlineStyle(int index)
JCChartStyle
that controls the candle outline style of
the complex candle chart.
index
- logical candle series (not the actual data series)
JCChartStyle
object.public void setCandleOutlineStyle(int index, com.klg.jclass.chart.JCChartStyle value)
index
- logical candle series (not the actual data series)value
- JCChartStyle
object containing the desired stylepublic com.klg.jclass.chart.ChartDataView getParent()
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |