|
OFC Charts 3.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.oxymel.ofc.charts.series.Series
Series is the abstract superclass for all data series
Field Summary | |
static int |
INDICATOR_TYPE_CIRCLE
Circle indicator |
static int |
INDICATOR_TYPE_SQUARE
Square indicator |
static int |
INDICATOR_TYPE_TRIANGLE
Triangle indicator |
static int |
NO_INDICATOR_TYPE
No indicator |
Method Summary | |
void |
drawIndicator(int x,
int y,
java.awt.Graphics2D graphics2D)
Draw indicator at specify position |
java.awt.Color |
getColor()
Get series color |
java.lang.String |
getId()
Get series id |
java.lang.String |
getLegendLabel()
Get label display in legend for this series |
boolean |
hasIndicator()
Tests if series has indicator |
boolean |
isVisible()
Tests if series is visible |
void |
setColor(java.awt.Color color)
Sets series color |
void |
setIndicatorType(int indicatorType)
Sets type of indicator |
void |
setVisible(boolean isVisible)
Sets series as visible or not |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int NO_INDICATOR_TYPE
public static final int INDICATOR_TYPE_CIRCLE
public static final int INDICATOR_TYPE_SQUARE
public static final int INDICATOR_TYPE_TRIANGLE
Method Detail |
public void setVisible(boolean isVisible)
isVisible
- if true series is visiblepublic boolean isVisible()
public java.lang.String getId()
public java.awt.Color getColor()
public void setColor(java.awt.Color color)
color
- series colorpublic java.lang.String getLegendLabel()
public void setIndicatorType(int indicatorType)
seriesIndicator
- public boolean hasIndicator()
public void drawIndicator(int x, int y, java.awt.Graphics2D graphics2D)
x
- y
- graphics2D
-
|
OFC Charts 3.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |