public interface IErrorBar
Modifier and Type | Interface and Description |
---|---|
static class |
IErrorBar.ErrorBarType
The error bar type.
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.swt.graphics.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(org.eclipse.swt.graphics.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 typeorg.eclipse.swt.graphics.Color getColor()
void setColor(org.eclipse.swt.graphics.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()
Copyright © 2015. All rights reserved.