public interface Indicator
| Modifier and Type | Method and Description |
|---|---|
void |
addPoint(double value)
Set new line Y coordinate in indicator coordinates space.
|
void |
setAxisRules(AxisRules axisRules)
Set rules for selecting indicator range.
|
void |
setColor(java.awt.Color color)
Set new line color.
|
void |
setLineStyle(LineStyle lineStyle)
Set new line style.
|
void |
setWidgetRules(WidgetRules widgetRules) |
void |
setWidth(int width)
Set new line width.
|
void addPoint(double value)
Double.NaN
to stop drawing (can be imagined as switching to invisible color)value - new valuevoid setColor(java.awt.Color color)
color - new line colorvoid setWidth(int width)
width - width in pixelsvoid setLineStyle(LineStyle lineStyle)
lineStyle - new line stylevoid setAxisRules(AxisRules axisRules)
AxisGroup this method should not be called directly, instead call
corresponding AxisGroup.setAxisRules(AxisRules)axisRules - object describing the rulesvoid setWidgetRules(WidgetRules widgetRules)