|
||||||||||
| 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-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.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. Default value: ErrorStyle.TopBottom |
ValueList |
getErrorValues()
Gets and sets the corresponding Error value for each Bar. The Error value will be displayed as a "T" on top of each Bar. |
int |
getErrorWidth()
Determines the horizontal size of the Error "T". Size is expressed either in pixels or in percent of Bar width depending on ErrorWidthUnit property. |
ErrorWidthUnit |
getErrorWidthUnits()
The ErrorWidth in pixels or percentage of Bar width. By default, the Error "T" width is 100% 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. Default value: Color.Empty |
void |
setErrorStyle(ErrorStyle value)
Defines the Error Series Style according to EErrorSeriesStyle. Default value: ErrorStyle.TopBottom |
void |
setErrorWidth(int value)
Determines the horizontal size of the Error "T". Default value: 100 |
void |
setErrorWidthUnits(ErrorWidthUnit value)
Sets ErrorWidth in pixels or percentage of Bar width. Default value: ErrorWidthUnit.Percent |
| Methods inherited from class com.steema.teechart.styles.Bar |
|---|
calcXPos, calcYPos, drawMark, drawSeriesForward, drawTickLine, 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 Seriespublic 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 Seriespublic void calcHorizMargins(Margins margins)
Series
calcHorizMargins in class Barmargins - Marginspublic void calcVerticalMargins(Margins margins)
Series
calcVerticalMargins in class Barmargins - Margins
protected void drawLegendShape(IGraphics3D g,
int valueIndex,
Rectangle r)
drawLegendShape in class CustomBarpublic void prepareForGallery(boolean isEnabled)
prepareForGallery in class CustomBarpublic void setColor(Color c)
Series
setColor in class Seriesc - 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 BarbarIndex - intstartPos - intendPos - intpublic double getMaxYValue()
getMaxYValue in class Barpublic double getMinYValue()
getMinYValue in class Bar
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||