public class CandleEntry extends Entry
| Constructor and Description |
|---|
CandleEntry(int xIndex,
float shadowH,
float shadowL,
float open,
float close)
Constructor.
|
CandleEntry(int xIndex,
float shadowH,
float shadowL,
float open,
float close,
java.lang.Object data)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
CandleEntry |
copy()
returns an exact copy of the entry
|
float |
getBodyRange()
Returns the body size (difference between open and close).
|
float |
getClose()
Returns the bodys close value.
|
float |
getHigh()
Returns the upper shadows highest value.
|
float |
getLow()
Returns the lower shadows lowest value.
|
float |
getOpen()
Returns the bodys open value.
|
float |
getShadowRange()
Returns the overall range (difference) between shadow-high and
shadow-low.
|
float |
getVal()
Returns the center value of the candle.
|
void |
setClose(float mClose) |
void |
setHigh(float mShadowHigh) |
void |
setLow(float mShadowLow) |
void |
setOpen(float mOpen) |
describeContents, equalTo, getData, getXIndex, setData, setVal, setXIndex, toString, writeToParcelpublic CandleEntry(int xIndex,
float shadowH,
float shadowL,
float open,
float close)
xIndex - The index on the x-axis.shadowH - The (shadow) high value.shadowL - The (shadow) low value.open - The open value.close - The close value.public CandleEntry(int xIndex,
float shadowH,
float shadowL,
float open,
float close,
java.lang.Object data)
xIndex - The index on the x-axis.shadowH - The (shadow) high value.shadowL - The (shadow) low value.open - close - data - Spot for additional data this Entry represents.public float getShadowRange()
public float getBodyRange()
public float getVal()
public CandleEntry copy()
Entrypublic float getHigh()
public void setHigh(float mShadowHigh)
public float getLow()
public void setLow(float mShadowLow)
public float getClose()
public void setClose(float mClose)
public float getOpen()
public void setOpen(float mOpen)