|
||||||||||
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
com.steema.teechart.styles.PointFigure
public class PointFigure
Title: PointFigure class
Description: PointFigure Series.
Example:
series1 = new com.steema.teechart.styles.PointFigure(myChart.getChart()); series1.fillSampleValues(); series1.setBoxSize(5); series1.getMarks().setVisible(false);
Copyright (c) 2005-2013 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 boolean |
treatNans
|
protected TreatNullsStyle |
treatnulls
|
Fields inherited from class com.steema.teechart.styles.OHLC |
---|
vHighValues, vLowValues, 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, 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, InternalUse |
Constructor Summary | |
---|---|
PointFigure()
|
|
PointFigure(IBaseChart c)
|
Method Summary | |
---|---|
void |
add(double[] xValues,
double[] yValues,
boolean append)
|
int |
add(double x,
double y)
Adds a new point with specified x and y values. |
protected void |
addSampleValues(int numValues)
|
protected boolean |
doNotPaintNull()
|
protected void |
draw()
|
double |
getBoxSize()
Determines the amount in price scales that is multiplied by ReversalAmount. |
int |
getCountLegendItems()
|
java.lang.String |
getDescription()
Gets descriptive text. |
SeriesPointer |
getDownSymbol()
|
java.lang.String |
getLegendString(int legendIndex,
LegendTextStyle legendTextStyle)
Returns the formatted String corresponding to the LegendIndex point. |
ChartPen |
getLinePen()
Determines pen to draw the line connecting all points. |
double |
getMaxXValue()
Returns the Maximum Value of the Series X Values List. |
double |
getMinXValue()
Returns the Minimum Value of the Series X Values List. |
double |
getReversalAmount()
The number that is multiplied by BoxSize. |
boolean |
getTreatNaNAsNull()
|
TreatNullsStyle |
getTreatNulls()
Defines how null points are treated. |
SeriesPointer |
getUpSymbol()
|
protected boolean |
IgnoreNull()
|
Color |
legendItemColor(int index)
|
void |
prepareForGallery(boolean isEnabled)
|
void |
setBoxSize(double value)
Determines the amount in price scales that is multiplied by ReversalAmount. |
void |
setChart(IBaseChart value)
Chart associated with this object. |
void |
setReversalAmount(double value)
Determines the number that is multiplied by BoxSize. |
void |
setTreatNaNAsNull(boolean value)
|
void |
setTreatNulls(TreatNullsStyle value)
|
Methods inherited from class com.steema.teechart.styles.OHLC |
---|
add, add, add, add, calcMinMaxValue, getCloseValues, getDateValues, getHighValues, getLowValues, getMaxYValue, getMinYValue, getOHLCPoint, getOpenValues, isValidSourceOf, numSampleValues, setCloseValues, setDateValues, setHighValues, setLowValues, setOpenValues |
Methods inherited from class com.steema.teechart.styles.Custom |
---|
assign, calcHorizMargins, calcVerticalMargins, clicked, drawHiddenValue, drawLegendShape, drawValue, getAreaBrushColor, getBrush, getClickableLine, getColorEachLine, getDark3D, getInvertedStairs, getLineHeight, getOpacity, getOutLine, getSmoothed, getStairs, getTransparency, readResolve, setClickableLine, setColor, setColorEachLine, setDark3D, setInvertedStairs, setLineHeight, setOpacity, setSmoothed, setStairs, setTransparency |
Methods inherited from class com.steema.teechart.styles.CustomPoint |
---|
addSeriesMouseListener, calcXPos, calcYPos, calcZOrder, clickedPointer, drawMark, drawPointer, getOriginPos, getPointer, getStacked, onGetPointerStyle, removePointerStyleResolver, removeSeriesMouseListener, sameClassOrigin, setPointerStyleResolver, setStacked |
Methods inherited from class com.steema.teechart.TeeBase |
---|
getChart, invalidate, setBooleanProperty, 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 ChartPen linePen
protected TreatNullsStyle treatnulls
protected boolean treatNans
Constructor Detail |
---|
public PointFigure()
public PointFigure(IBaseChart c)
Method Detail |
---|
public double getBoxSize()
public void setBoxSize(double value)
Example:
series1.setBoxSize(5);
value
- doublepublic double getReversalAmount()
public void setReversalAmount(double value)
value
- doubleprotected void addSampleValues(int numValues)
addSampleValues
in class OHLC
protected void draw()
draw
in class Custom
public void prepareForGallery(boolean isEnabled)
prepareForGallery
in class Series
public void setChart(IBaseChart value)
TeeBase
setChart
in interface ISeries
setChart
in class Custom
value
- IBaseChartpublic int getCountLegendItems()
getCountLegendItems
in interface ISeries
getCountLegendItems
in class Series
public Color legendItemColor(int index)
legendItemColor
in interface ISeries
legendItemColor
in class Series
public java.lang.String getLegendString(int legendIndex, LegendTextStyle legendTextStyle)
Series
getLegendString
in interface ISeries
getLegendString
in class Series
legendIndex
- intlegendTextStyle
- LegendTextStyle
public double getMaxXValue()
CustomPoint
getMaxXValue
in class CustomPoint
public double getMinXValue()
CustomPoint
getMinXValue
in class CustomPoint
public SeriesPointer getDownSymbol()
public SeriesPointer getUpSymbol()
public java.lang.String getDescription()
getDescription
in class Series
public ChartPen getLinePen()
public TreatNullsStyle getTreatNulls()
public void setTreatNulls(TreatNullsStyle value)
public void add(double[] xValues, double[] yValues, boolean append)
add
in class Series
public int add(double x, double y)
Series
add
in interface ISeries
add
in class Series
x
- doubley
- double
protected boolean IgnoreNull()
protected boolean doNotPaintNull()
public boolean getTreatNaNAsNull()
public void setTreatNaNAsNull(boolean value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |