|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.steema.teechart.TeeBase
com.steema.teechart.styles.Series
com.steema.teechart.styles.CustomPoint
com.steema.teechart.styles.Custom
com.steema.teechart.styles.OHLC
public class OHLC
Title: OHLC class
Description: OHLC is an base Series class that maintains lists for Open, Close, High and Low values.
Copyright (c) 2005-2008 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.steema.teechart.styles.Series |
---|
Series.MarkTextResolver |
Field Summary | |
---|---|
protected ChartPen |
linePen
|
protected TreatNullsStyle |
treatnulls
|
protected ValueList |
vHighValues
|
protected ValueList |
vLowValues
|
protected ValueList |
vOpenValues
|
Fields inherited from class com.steema.teechart.styles.Custom |
---|
bAreaBrush, bClickableLine, bDark3D, drawArea, drawLine, pAreaLines |
Fields inherited from class com.steema.teechart.styles.CustomPoint |
---|
iStacked, point |
Fields inherited from class com.steema.teechart.styles.Series |
---|
AUTODEPTH, AUTOZORDER, bActive, bBrush, bColorEach, calcVisiblePoints, colorMember, customMarkText, drawBetweenPoints, endZ, firstVisible, hasZValues, iColors, InternalUse, iNumSampleValues, iZOrder, labelMember, lastVisible, listenerList, mandatory, manualData, marks, middleZ, notMandatory, percentDecimal, percentFormat, sLabels, startZ, useAxis, useSeriesColor, valueFormat, vxValues, vyValues, yMandatory |
Fields inherited from class com.steema.teechart.TeeBase |
---|
chart |
Constructor Summary | |
---|---|
OHLC()
|
|
OHLC(IBaseChart c)
|
Method Summary | |
---|---|
int |
add(DateTime aDate,
double open,
double high,
double low,
double close)
Adds new point with specified DateTime x and double open, high, low and close. |
int |
add(double open,
double high,
double low,
double close)
Adds new point with specified double open, high, low and close. |
int |
add(double index,
double open,
double high,
double low,
double close)
Adds new point with specified double index and double open, high, low and close. |
int |
add(int index,
double open,
double high,
double low,
double close)
Adds new point with specified integer index and double open, high, low and close. |
protected void |
addSampleValues(int numValues)
|
protected double |
calcMinMaxValue(boolean isMin)
|
ValueList |
getCloseValues()
All the Stock market Close values. You can access Close values in the same way you can access X or Y values. |
ValueList |
getDateValues()
All the Stock market Date values. You can access Date values in the same way you can access X or Y values. |
ValueList |
getHighValues()
All the Stock market High values. You can access High values in the same way you can access X or Y values. |
ChartPen |
getLinePen()
Determines pen to draw the line connecting all points. |
ValueList |
getLowValues()
All the Stock market Low values. You can access High values in the same way you can access X or Y values. |
double |
getMaxYValue()
The Maximum Value of the Series Y Values List. |
double |
getMinYValue()
The Minimum Value of the Series Y Values List. As some Series have more than one Y Values List, this Minimum Value is the "Minimum of Minimums" of all Series Y Values lists. |
SeriesOHLCPoint |
getOHLCPoint(int index)
Point characteristics |
ValueList |
getOpenValues()
All the Stock market Open values. You can access Open values in the same way you can access X or Y values. |
TreatNullsStyle |
getTreatNulls()
Defines how null points are treated. |
boolean |
isValidSourceOf(ISeries value)
Validates Series datasource. |
protected int |
numSampleValues()
|
void |
setCloseValues(ValueList value)
Sets all Stock market Close values. You can access Close values in the same way you can access X or Y values. |
void |
setDateValues(ValueList value)
Sets all Stock market Date values. You can access Date values in the same way you can access X or Y values. |
void |
setHighValues(ValueList value)
Sets all Stock market High values. You can access High values in the same way you can access X or Y values. |
void |
setLowValues(ValueList value)
Sets all Stock market Low values. You can access High values in the same way you can access X or Y values. |
void |
setOpenValues(ValueList value)
Sets all Stock market Open values. You can access Open values in the same way you can access X or Y values. |
void |
setTreatNulls(TreatNullsStyle value)
|
Methods inherited from class com.steema.teechart.styles.Custom |
---|
calcHorizMargins, calcVerticalMargins, clicked, draw, drawLegendShape, drawValue, getAreaBrushColor, getBrush, getClickableLine, getColorEachLine, getDark3D, getInvertedStairs, getLineHeight, getOpacity, getOutLine, getStairs, getTransparency, readResolve, setChart, setClickableLine, setColor, setColorEachLine, setDark3D, setInvertedStairs, setLineHeight, setOpacity, setStairs, setTransparency |
Methods inherited from class com.steema.teechart.styles.CustomPoint |
---|
addSeriesMouseListener, assign, calcXPos, calcYPos, calcZOrder, clickedPointer, drawMark, drawPointer, getMaxXValue, getMinXValue, getOriginPos, getPointer, getStacked, onGetPointerStyle, removePointerStyleResolver, removeSeriesMouseListener, sameClassOrigin, setPointerStyleResolver, setStacked |
Methods inherited from class com.steema.teechart.TeeBase |
---|
getChart, invalidate, setBooleanProperty, setColorProperty, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.steema.teechart.styles.ISeries |
---|
getChart, invalidate |
Field Detail |
---|
protected ValueList vHighValues
protected ValueList vLowValues
protected ValueList vOpenValues
protected ChartPen linePen
protected TreatNullsStyle treatnulls
Constructor Detail |
---|
public OHLC(IBaseChart c)
public OHLC()
Method Detail |
---|
public ValueList getDateValues()
public void setDateValues(ValueList value)
value
- ValueListpublic ValueList getCloseValues()
public void setCloseValues(ValueList value)
value
- ValueListpublic ValueList getOpenValues()
public void setOpenValues(ValueList value)
value
- ValueListpublic ValueList getHighValues()
public void setHighValues(ValueList value)
value
- ValueListpublic ValueList getLowValues()
public void setLowValues(ValueList value)
value
- ValueListpublic int add(int index, double open, double high, double low, double close)
index
- intopen
- doublehigh
- doublelow
- doubleclose
- double
public int add(double index, double open, double high, double low, double close)
index
- doubleopen
- doublehigh
- doublelow
- doubleclose
- double
public int add(double open, double high, double low, double close)
open
- doublehigh
- doublelow
- doubleclose
- double
public int add(DateTime aDate, double open, double high, double low, double close)
aDate
- DateTimeopen
- doublehigh
- doublelow
- doubleclose
- double
public boolean isValidSourceOf(ISeries value)
value
- ISeries the series to validate.
public double getMaxYValue()
getMaxYValue
in class CustomPoint
public double getMinYValue()
getMinYValue
in class CustomPoint
protected double calcMinMaxValue(boolean isMin)
protected int numSampleValues()
numSampleValues
in class Series
protected void addSampleValues(int numValues)
addSampleValues
in class Series
public SeriesOHLCPoint getOHLCPoint(int index)
index
- int
public ChartPen getLinePen()
public TreatNullsStyle getTreatNulls()
public void setTreatNulls(TreatNullsStyle value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |