com.steema.teechart.styles
Class CustomErrorPoint
java.lang.Object
com.steema.teechart.TeeBase
com.steema.teechart.styles.Series
com.steema.teechart.styles.CustomPoint
com.steema.teechart.styles.Points
com.steema.teechart.styles.CustomErrorPoint
- All Implemented Interfaces:
- ISeries, java.io.Serializable, java.lang.Cloneable
- Direct Known Subclasses:
- ErrorPoint
public abstract class CustomErrorPoint
- extends Points
- See Also:
- Serialized Form
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 |
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. |
int |
add(double y,
double LErr,
double RErr,
double TErr,
double BErr)
|
int |
add(double x,
double y,
double LErr,
double RErr,
double TErr,
double BErr)
|
int |
add(double x,
double y,
double LErr,
double RErr,
double TErr,
double BErr,
Color color)
|
int |
add(double x,
double y,
double LErr,
double RErr,
double TErr,
double BErr,
java.lang.String text)
|
int |
add(double XVal,
double YVal,
double LErr,
double RErr,
double TErr,
double BErr,
java.lang.String text,
Color color)
|
protected void |
addSampleValues(int numValues)
|
protected void |
calcHorizMargins(int LeftMargin,
int RightMargin)
|
protected double |
calcMinMaxValue(boolean isMin)
|
protected void |
calcVerticalMargins(int TopMargin,
int BottomMargin)
|
int |
clicked(int x,
int y)
Returns the ValueIndex of the "clicked" point in the Series. |
protected boolean |
doNotPaintNull()
|
void |
drawValue(int valueIndex)
Called internally. |
java.lang.String |
getDescription()
Gets descriptive text. |
ChartErrors |
getErrors()
|
double |
getMaxXValue()
Returns the Maximum Value of the Series X Values List. |
double |
getMaxYValue()
Returns the Maximum Value of the Series Y Values List. |
double |
getMinXValue()
Returns the Minimum Value of the Series X Values List. |
double |
getMinYValue()
Returns the Minimum Value of the Series Y Values List. |
boolean |
getTreatNaNAsNull()
|
TreatNullsStyle |
getTreatNulls()
Defines how null points are treated. |
protected boolean |
IgnoreNull()
|
void |
setChart(Chart c)
|
void |
setTreatNaNAsNull(boolean value)
|
void |
setTreatNulls(TreatNullsStyle value)
|
Methods inherited from class com.steema.teechart.styles.CustomPoint |
addSeriesMouseListener, assign, calcHorizMargins, calcVerticalMargins, calcXPos, calcYPos, calcZOrder, clickedPointer, drawLegendShape, drawMark, drawPointer, getOriginPos, getPointer, getStacked, onGetPointerStyle, removePointerStyleResolver, removeSeriesMouseListener, sameClassOrigin, setChart, setPointerStyleResolver, setStacked |
Methods inherited from class com.steema.teechart.styles.Series |
add, 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, dataSourceArray, delete, delete, delete, dispose, doAfterDrawValues, doBeforeDrawChart, doBeforeDrawValues, doClick, doClickPointer, doDoubleClick, draw, drawHiddenValue, drawLegend, drawLegend, drawMarks, drawMarksSeries, drawSeries, drawSeriesForward, drawValuesForward, endUpdate, fillSampleValues, fillSampleValues, fireSeriesMouseEvent, fireSeriesPaint, firstDisplayed, galleryChanged3D, getActive, getAllowSinglePoint, getBitmapEditor, getBrush, getColorEach, getColorMember, getColors, getCount, getCountLegendItems, getCursor, getCustomHorizAxis, getCustomVertAxis, getDataSource, getDefaultColor, getDefaultNullValue, getDepth, getEndZ, getFields, getFirstVisible, getFunction, getHasZValues, getHorizAxis, getHorizontalAxis, getLabelMember, getLabels, getLastVisible, getLegendString, 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, legendItemColor, legendToValueIndex, maxMarkWidth, moreSameZOrder, mouseEvent, newFromType, numSampleValues, onDisposing, prepareForGallery, prepareLegendCanvas, randomBounds, readResolve, recalcGetAxis, refreshSeries, removeMarkTextResolver, removeSeriesPaintListener, repaint, sameClass, setActive, 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, setTitle, setValueFormat, setValueList, setVerticalAxis, setVisible, setXValues, setYValues, setZOrder, setZPositions, sortByLabels, sortByLabels, swapValueIndex, titleOrName, toString, valueListOfAxis, valuesListAdd, xScreenToValue, yScreenToValue |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
linePen
protected ChartPen linePen
treatnulls
protected TreatNullsStyle treatnulls
treatNans
protected boolean treatNans
CustomErrorPoint
public CustomErrorPoint(IBaseChart c)
CustomErrorPoint
public CustomErrorPoint()
getErrors
public ChartErrors getErrors()
setChart
public void setChart(Chart c)
calcHorizMargins
protected void calcHorizMargins(int LeftMargin,
int RightMargin)
calcVerticalMargins
protected void calcVerticalMargins(int TopMargin,
int BottomMargin)
addSampleValues
protected void addSampleValues(int numValues)
- Overrides:
addSampleValues
in class Series
add
public int add(double XVal,
double YVal,
double LErr,
double RErr,
double TErr,
double BErr,
java.lang.String text,
Color color)
add
public int add(double x,
double y,
double LErr,
double RErr,
double TErr,
double BErr,
java.lang.String text)
add
public int add(double x,
double y,
double LErr,
double RErr,
double TErr,
double BErr)
add
public int add(double x,
double y,
double LErr,
double RErr,
double TErr,
double BErr,
Color color)
add
public int add(double y,
double LErr,
double RErr,
double TErr,
double BErr)
drawValue
public void drawValue(int valueIndex)
- Description copied from class:
CustomPoint
- Called internally. Draws the "ValueIndex" point of the Series.
- Specified by:
drawValue
in interface ISeries
- Overrides:
drawValue
in class CustomPoint
- Parameters:
valueIndex
- int
getMaxXValue
public double getMaxXValue()
- Description copied from class:
CustomPoint
- Returns the Maximum Value of the Series X Values List.
- Overrides:
getMaxXValue
in class CustomPoint
- Returns:
- double
getMaxYValue
public double getMaxYValue()
- Description copied from class:
CustomPoint
- Returns the Maximum Value of the Series Y Values List.
- Overrides:
getMaxYValue
in class CustomPoint
- Returns:
- double
getMinXValue
public double getMinXValue()
- Description copied from class:
CustomPoint
- Returns the Minimum Value of the Series X Values List.
- Overrides:
getMinXValue
in class CustomPoint
- Returns:
- double
getMinYValue
public double getMinYValue()
- Description copied from class:
CustomPoint
- Returns the Minimum Value of the Series Y Values List.
- Overrides:
getMinYValue
in class CustomPoint
- Returns:
- double
getDescription
public java.lang.String getDescription()
- Description copied from class:
Points
- Gets descriptive text.
- Overrides:
getDescription
in class Points
- Returns:
- String
clicked
public int clicked(int x,
int y)
- Description copied from class:
CustomPoint
- Returns the ValueIndex of the "clicked" point in the Series.
- Specified by:
clicked
in interface ISeries
- Overrides:
clicked
in class CustomPoint
- Parameters:
x
- inty
- int
- Returns:
- int
calcMinMaxValue
protected double calcMinMaxValue(boolean isMin)
getTreatNulls
public TreatNullsStyle getTreatNulls()
- Defines how null points are treated.
- Returns:
- TreatNullsStyle
setTreatNulls
public void setTreatNulls(TreatNullsStyle value)
add
public void add(double[] xValues,
double[] yValues,
boolean append)
- Overrides:
add
in class Series
add
public int add(double x,
double y)
- Description copied from class:
Series
- Adds a new point with specified x and y values.
- Specified by:
add
in interface ISeries
- Overrides:
add
in class Series
- Parameters:
x
- doubley
- double
- Returns:
- int
IgnoreNull
protected boolean IgnoreNull()
doNotPaintNull
protected boolean doNotPaintNull()
getTreatNaNAsNull
public boolean getTreatNaNAsNull()
setTreatNaNAsNull
public void setTreatNaNAsNull(boolean value)