ErrorBarpublic interface IErrorBar
| Modifier and Type | Interface | Description |
|---|---|---|
static class |
IErrorBar.ErrorBarType |
The error bar type.
|
| Modifier and Type | Method | Description |
|---|---|---|
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.
|
IErrorBar.ErrorBarType getType()
void setType(IErrorBar.ErrorBarType type)
type - the error typeColor getColor()
void setColor(Color color)
color - the error bar colorint getLineWidth()
void setLineWidth(int width)
width - line width to draw error bardouble getError()
void setError(double error)
If errors have been set with getPlusErrors() or
getMinusErrors(), the value set with this method won't be used.
error - the errordouble[] getPlusErrors()
void setPlusErrors(double[] errors)
errors - the plus errorsdouble[] getMinusErrors()
void setMinusErrors(double[] errors)
errors - the minus errorsvoid setVisible(boolean visible)
visible - the visibility stateboolean isVisible()