public class PointFigure extends OHLC
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
Series.MarkTextResolver| Modifier and Type | Field and Description |
|---|---|
protected ChartPen |
linePen |
protected boolean |
treatNans |
protected TreatNullsStyle |
treatnulls |
vHighValues, vLowValues, vOpenValuesbAreaBrush, bClickableLine, bDark3D, drawArea, drawLine, pAreaLinesiStacked, pointAUTODEPTH, AUTOZORDER, bActive, bBrush, bColorEach, calcVisiblePoints, colorMember, customMarkText, drawBetweenPoints, endZ, firstVisible, hasZValues, iColors, iNumSampleValues, iZOrder, labelMember, lastVisible, listenerList, mandatory, manualData, marks, middleZ, notMandatory, oldDataSource, percentDecimal, percentFormat, sLabels, startZ, useAxis, useSeriesColor, valueFormat, vxValues, vyValues, yMandatorychart, InternalUse| Constructor and Description |
|---|
PointFigure() |
PointFigure(IBaseChart c) |
| Modifier and Type | Method and Description |
|---|---|
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) |
void |
assign(Series source)
Copies all properties from one Series component to another.
Only the common properties shared by both source and destination Series are copied. |
protected boolean |
doNotPaintNull() |
protected void |
draw() |
double |
getBoxSize()
Determines the amount in price scales that is multiplied by
ReversalAmount.
ReversalAmount by BoxSize defines the maximum price difference allowed before adding a new column of symbols. |
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.
ReversalAmount by BoxSize defines the maximum price difference allowed before adding a new column of symbols. |
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.
Default value: 1 |
void |
setChart(IBaseChart value)
Chart associated with this object.
|
void |
setReversalAmount(double value)
Determines the number that is multiplied by BoxSize.
Default value: 3 |
void |
setTreatNaNAsNull(boolean value) |
void |
setTreatNulls(TreatNullsStyle value) |
add, add, add, add, calcMinMaxValue, getCloseValues, getDateValues, getHighValues, getLowValues, getMaxYValue, getMinYValue, getOHLCPoint, getOpenValues, isValidSourceOf, numSampleValues, setCloseValues, setDateValues, setHighValues, setLowValues, setOpenValuescalcHorizMargins, 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, SmoothSeriesaddSeriesMouseListener, calcXPos, calcYPos, calcZOrder, clickedPointer, drawMark, drawPointer, getOriginPos, getPointer, getStacked, onGetPointerStyle, removePointerStyleResolver, removeSeriesMouseListener, sameClassOrigin, setPointerStyleResolver, setStackedadd, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, addChartValue, added, addedValue, addNull, addNullXY, addSeriesPaintListener, addValues, assignDispose, assignValues, associatedToAxis, beginUpdate, calcFirstLastVisibleIndex, calcPercentSt, calcPosValue, calculateMarkPosition, calcXPosValue, calcXSizeValue, calcYPosValue, calcYSizeValue, canAddRandomPoints, changeType, checkDataSource, checkMouse, checkOrder, checkOtherSeries, clear, clearLists, clicked, clone, cloneSeries, convertArray, countLegendItems, createNewSeries, createNewSeries, createNewSeries, createSubGallery, dataSourceArray, delete, delete, delete, dispose, doAfterDrawValues, doBeforeDrawChart, doBeforeDrawValues, doClick, doClickPointer, doDoubleClick, drawLegend, drawLegend, drawMarks, drawMarksSeries, drawSeries, drawSeriesForward, drawValuesForward, endUpdate, fillSampleValues, fillSampleValues, fireSeriesMouseEvent, fireSeriesPaint, firstDisplayed, galleryChanged3D, getActive, getAllowSinglePoint, getBitmapEditor, getColor, getColorEach, getColorMember, getColors, getCount, getCursor, getCustomHorizAxis, getCustomVertAxis, getDataSource, getDefaultColor, getDefaultNullValue, getDepth, getEndZ, getFields, getFirstVisible, getFunction, getHasZValues, getHorizAxis, getHorizontalAxis, getLabelMember, getLabels, getLastVisible, getMandatory, getMandatoryAxis, getMarks, getMarkText, getMarkValue, getMaxZValue, getMiddleZ, getMinZValue, getNotMandatory, getNumGallerySeries, getNumSampleValues, getOriginValue, getPercentFormat, getPoint, getSeriesColor, getShowInLegend, getStartZ, getTitle, getUseAxis, getValueColor, getValueFormat, getValueIndexSwapper, getValueList, getValueList, getValueMarkText, getValuesLists, getVertAxis, getVerticalAxis, getVisible, getXValues, getYMandatory, getYValueList, getYValues, getZOrder, hasClickEvents, hasColors, hasDataSource, hasLabels, hasListenersOf, hasNoMandatoryValues, isNull, isPointInChartRect, isValidSeriesSource, isValidSourceOf, lastDisplayed, lastVisibleMark, legendToValueIndex, maxMarkWidth, moreSameZOrder, mouseEvent, newFromType, onDisposing, prepareLegendCanvas, randomBounds, recalcGetAxis, refreshSeries, removeMarkTextResolver, removeSeriesPaintListener, repaint, sameClass, setActive, setColorEach, setColorMember, setColors, setCursor, setCustomHorizAxis, setCustomHorizAxis, setCustomVertAxis, setCustomVertAxis, setDataSource, setDefaultNullValue, setDepth, setEndZ, setFunction, setHorizontal, setHorizontalAxis, setLabelMember, setLabels, setMarks, setMarkTextResolver, setMiddleZ, setNull, setNull, setPercentFormat, setSeriesColor, setShowInLegend, setStartZ, setSubGallery, setTitle, setValueFormat, setValueList, setVerticalAxis, setVisible, setXValues, setYValues, setZOrder, setZPositions, sortByLabels, sortByLabels, sortDrawSeries, swapValueIndex, titleOrName, toString, valueListOfAxis, valuesListAdd, xScreenToValue, yScreenToValuegetChart, invalidate, setBooleanProperty, setColorProperty, setDoubleProperty, setIntegerProperty, setStringPropertyequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetChart, invalidateprotected ChartPen linePen
protected TreatNullsStyle treatnulls
protected boolean treatNans
public PointFigure()
public PointFigure(IBaseChart c)
public void assign(Series source)
Seriespublic 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 OHLCpublic void prepareForGallery(boolean isEnabled)
prepareForGallery in class Seriespublic void setChart(IBaseChart value)
TeeBasepublic int getCountLegendItems()
getCountLegendItems in interface ISeriesgetCountLegendItems in class Seriespublic Color legendItemColor(int index)
legendItemColor in interface ISerieslegendItemColor in class Seriespublic java.lang.String getLegendString(int legendIndex,
LegendTextStyle legendTextStyle)
SeriesgetLegendString in interface ISeriesgetLegendString in class SerieslegendIndex - intlegendTextStyle - LegendTextStylepublic double getMaxXValue()
CustomPointgetMaxXValue in class CustomPointpublic double getMinXValue()
CustomPointgetMinXValue in class CustomPointpublic SeriesPointer getDownSymbol()
public SeriesPointer getUpSymbol()
public java.lang.String getDescription()
getDescription in class Seriespublic ChartPen getLinePen()
public TreatNullsStyle getTreatNulls()
public void setTreatNulls(TreatNullsStyle value)
public void add(double[] xValues,
double[] yValues,
boolean append)
public int add(double x,
double y)
Seriesprotected boolean IgnoreNull()
protected boolean doNotPaintNull()
public boolean getTreatNaNAsNull()
public void setTreatNaNAsNull(boolean value)