IErrorBar.ErrorBarType| Constructor and Description |
|---|
ErrorBar()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
draw(GC gc,
int h,
int v,
Axis axis,
int seriesIndex)
Draws error bar.
|
Color |
getColor()
Gets the error bar color.
|
double |
getError()
Gets the error.
|
int |
getLineWidth()
Gets the line width to draw error bar.
|
double[] |
getMinusErrors()
Gets the minus errors.
|
double[] |
getPlusErrors()
Gets the plus errors.
|
IErrorBar.ErrorBarType |
getType()
Gets the error type.
|
boolean |
isVisible()
Gets the visibility state.
|
void |
setColor(Color color)
Sets the error bar color.
|
void |
setError(double error)
Sets the error.
|
void |
setLineWidth(int width)
Sets the line width to draw error bar.
|
void |
setMinusErrors(double[] errors)
Sets the minus errors.
|
void |
setPlusErrors(double[] errors)
Sets the plus errors.
|
void |
setType(IErrorBar.ErrorBarType type)
Sets the error type.
|
void |
setVisible(boolean visible)
Sets the visibility state.
|
public IErrorBar.ErrorBarType getType()
IErrorBarpublic void setType(IErrorBar.ErrorBarType type)
IErrorBarpublic Color getColor()
IErrorBarpublic void setColor(Color color)
IErrorBarpublic int getLineWidth()
IErrorBargetLineWidth in interface IErrorBarpublic void setLineWidth(int width)
IErrorBarsetLineWidth in interface IErrorBarwidth - line width to draw error barpublic double getError()
IErrorBarpublic void setError(double error)
IErrorBar
If errors have been set with IErrorBar.getPlusErrors() or
IErrorBar.getMinusErrors(), the value set with this method won't be used.
public double[] getPlusErrors()
IErrorBargetPlusErrors in interface IErrorBarpublic void setPlusErrors(double[] errors)
IErrorBarsetPlusErrors in interface IErrorBarerrors - the plus errorspublic double[] getMinusErrors()
IErrorBargetMinusErrors in interface IErrorBarpublic void setMinusErrors(double[] errors)
IErrorBarsetMinusErrors in interface IErrorBarerrors - the minus errorspublic boolean isVisible()
IErrorBarpublic void setVisible(boolean visible)
IErrorBarsetVisible in interface IErrorBarvisible - the visibility stateprotected void draw(GC gc,
int h,
int v,
Axis axis,
int seriesIndex)
gc - the graphics contexth - the horizontal coordinate to draw error barv - the vertical coordinate to draw error baraxis - the x axisseriesIndex - the series index