|
||||||||||
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.CustomBar
com.steema.teechart.styles.Bar
com.steema.teechart.styles.CustomError
public class CustomError
Title: CustomError class
Description: CustomErrorSeries Series.
Copyright (c) 2005-2006 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.steema.teechart.styles.CustomBar |
---|
CustomBar.BarStyleResolver |
Nested classes/interfaces inherited from class com.steema.teechart.styles.Series |
---|
Series.MarkTextResolver |
Field Summary | |
---|---|
protected boolean |
bDrawBar
|
protected ErrorStyle |
iErrorStyle
|
Fields inherited from class com.steema.teechart.styles.CustomBar |
---|
barSizePercent, bDark3D, bUseOrigin, conePercent, customBarSize, dOrigin, iBarBounds, iBarSize, iMultiBar, iNumBars, iOrderPos, iPreviousCount, normalBarColor, pPen |
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 | |
---|---|
CustomError()
|
|
CustomError(IBaseChart c)
|
Method Summary | |
---|---|
int |
add(double x,
double y,
double errorValue)
Adds a new Error Bar point to the Series. |
int |
add(double x,
double y,
double errorValue,
Color color)
Adds a new Error Bar point to the Series in selected color. |
int |
add(double x,
double y,
double errorValue,
java.lang.String text)
Adds a new Error Bar point to the Series with label. |
int |
add(double x,
double y,
double errorValue,
java.lang.String text,
Color color)
Adds a new Error Bar point in selected color and with label. |
protected void |
addSampleValues(int numValues)
|
int |
addValue(double y,
double errorValue)
Adds a new Error Bar point with y value and error Value only. |
void |
calcHorizMargins(Margins margins)
Returns the number of pixels for horizontal margins |
void |
calcVerticalMargins(Margins margins)
Returns the number of pixels for vertical margins |
void |
drawBar(int barIndex,
int startPos,
int endPos)
Displays an ErrorBar point ( BarIndex point ) using the Start and End pixel coordinates. |
protected void |
drawLegendShape(IGraphics3D g,
int valueIndex,
Rectangle r)
|
ChartPen |
getErrorPen()
Defines Pen to draw Error "T" on top of Error Bars. |
ErrorStyle |
getErrorStyle()
Defines the Error Series Style according to EErrorSeriesStyle. |
ValueList |
getErrorValues()
Gets and sets the corresponding Error value for each Bar. |
int |
getErrorWidth()
Determines the horizontal size of the Error "T". |
ErrorWidthUnit |
getErrorWidthUnits()
The ErrorWidth in pixels or percentage of Bar width. |
double |
getMaxYValue()
Returns the Maximum Value of the Series Y Values List. |
double |
getMinYValue()
Returns the Minimum Value of the Series Y Values List. |
void |
prepareForGallery(boolean isEnabled)
|
protected java.lang.Object |
readResolve()
|
void |
setColor(Color c)
Default color for all points. |
void |
setErrorStyle(ErrorStyle value)
Defines the Error Series Style according to EErrorSeriesStyle. |
void |
setErrorWidth(int value)
Determines the horizontal size of the Error "T". |
void |
setErrorWidthUnits(ErrorWidthUnit value)
Sets ErrorWidth in pixels or percentage of Bar width. |
Methods inherited from class com.steema.teechart.styles.Bar |
---|
calcXPos, calcYPos, drawMark, drawSeriesForward, drawValue, getBarWidthPercent, getDescription, getMaxXValue, getMinXValue, getOriginPos, internalCalcMarkLength, internalClicked, moreSameZOrder, setBarWidthPercent |
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 ErrorStyle iErrorStyle
protected boolean bDrawBar
Constructor Detail |
---|
public CustomError()
public CustomError(IBaseChart c)
Method Detail |
---|
protected java.lang.Object readResolve()
readResolve
in class Series
public ValueList getErrorValues()
public ChartPen getErrorPen()
public ErrorStyle getErrorStyle()
public void setErrorStyle(ErrorStyle value)
value
- ErrorStylepublic ErrorWidthUnit getErrorWidthUnits()
public void setErrorWidthUnits(ErrorWidthUnit value)
value
- ErrorWidthUnitpublic int getErrorWidth()
public void setErrorWidth(int value)
value
- intprotected void addSampleValues(int numValues)
addSampleValues
in class Series
public void calcHorizMargins(Margins margins)
Series
calcHorizMargins
in class Bar
margins
- Marginspublic void calcVerticalMargins(Margins margins)
Series
calcVerticalMargins
in class Bar
margins
- Marginsprotected void drawLegendShape(IGraphics3D g, int valueIndex, Rectangle r)
drawLegendShape
in class CustomBar
public void prepareForGallery(boolean isEnabled)
prepareForGallery
in class CustomBar
public void setColor(Color c)
Series
setColor
in class Series
c
- ColorSeries.getColorEach()
public int add(double x, double y, double errorValue, java.lang.String text, Color color)
x
- doubley
- doubleerrorValue
- doubletext
- Stringcolor
- Color
public int add(double x, double y, double errorValue, java.lang.String text)
x
- doubley
- doubleerrorValue
- doubletext
- String
public int add(double x, double y, double errorValue)
x
- doubley
- doubleerrorValue
- double
public int add(double x, double y, double errorValue, Color color)
x
- doubley
- doubleerrorValue
- doublecolor
- Color
public int addValue(double y, double errorValue)
y
- doubleerrorValue
- double
public void drawBar(int barIndex, int startPos, int endPos)
drawBar
in class Bar
barIndex
- intstartPos
- intendPos
- intpublic double getMaxYValue()
getMaxYValue
in class Bar
public double getMinYValue()
getMinYValue
in class Bar
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |