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,
android.graphics.drawable.Drawable icon)
Constructor.
|
CandleEntry(float x,
float shadowH,
float shadowL,
float open,
float close,
android.graphics.drawable.Drawable icon,
java.lang.Object data)
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-axisshadowH - The (shadow) high valueshadowL - The (shadow) low valueopen - The open valueclose - The close valuepublic CandleEntry(float x,
float shadowH,
float shadowL,
float open,
float close,
java.lang.Object data)
x - The value on the x-axisshadowH - The (shadow) high valueshadowL - The (shadow) low valueopen - close - data - Spot for additional data this Entry representspublic CandleEntry(float x,
float shadowH,
float shadowL,
float open,
float close,
android.graphics.drawable.Drawable icon)
x - The value on the x-axisshadowH - The (shadow) high valueshadowL - The (shadow) low valueopen - close - icon - Icon imagepublic CandleEntry(float x,
float shadowH,
float shadowL,
float open,
float close,
android.graphics.drawable.Drawable icon,
java.lang.Object data)
x - The value on the x-axisshadowH - The (shadow) high valueshadowL - The (shadow) low valueopen - close - icon - Icon imagedata - Spot for additional data this Entry representspublic 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)