public class CandleEntry extends Entry
| Constructor and Description |
|---|
CandleEntry(float x,
float shadowH,
float shadowL,
float open,
float close)
Constructor.
|
CandleEntry(float x,
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 |
getY()
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, getX, setX, toString, writeToParcelpublic CandleEntry(float x,
float shadowH,
float shadowL,
float open,
float close)
x - The value on the x-axis.shadowH - The (shadow) high value.shadowL - The (shadow) low value.open - The open value.close - The close value.public CandleEntry(float x,
float shadowH,
float shadowL,
float open,
float close,
java.lang.Object data)
x - The value 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 getY()
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)