|
OBEROn SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.oberon.ooql.sdk.GraphStyler.Series
public class GraphStyler.Series
Chart data series
Constructor Summary | |
---|---|
GraphStyler.Series(org.jdom.Element series)
Defines the series from XML element tree |
|
GraphStyler.Series(java.lang.String name)
Defines a new series with default color RED |
|
GraphStyler.Series(java.lang.String name,
GraphStyler.Color color)
Defines a new series |
Method Summary | |
---|---|
void |
fromXML(org.jdom.Element series)
Loads the series from XML element tree |
GraphStyler.Color |
getColor()
Get the series color |
java.lang.String |
getName()
Get the series name / title |
int |
getPointDim()
Get the series point dimension for line and area charts |
int |
getPointStyle()
Get the series point style for line and area charts; see the POINT STYLE constants |
int |
getWidth()
Get the bar / line width |
boolean |
isDisplayValues()
Check if data values are visible |
boolean |
isPointFilled()
Get the point fill condition for line and area charts |
void |
setColor(GraphStyler.Color color)
Set the series point / line / area / bar color |
void |
setDisplayValues(boolean values)
Show / Hide the data values |
void |
setName(java.lang.String name)
Set the series name / title |
void |
setPointDim(int size)
Set the series point dimension for line and area charts |
void |
setPointFilled(boolean fill)
Set the point fill style for line and area charts |
void |
setPointStyle(int style)
Set the series point style for line and area charts; see the POINT STYLE constants |
void |
setWidth(int width)
Set the bar / line width |
org.jdom.Element |
toXML()
Return the series as XML element tree |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GraphStyler.Series(java.lang.String name)
name
- the series title or namepublic GraphStyler.Series(java.lang.String name, GraphStyler.Color color)
name
- the series title or namecolor
- the point / line / area / bar colorpublic GraphStyler.Series(org.jdom.Element series)
Method Detail |
---|
public void setName(java.lang.String name)
public java.lang.String getName()
public void setColor(GraphStyler.Color color)
public GraphStyler.Color getColor()
public void setPointStyle(int style)
public int getPointStyle()
public void setPointDim(int size)
public int getPointDim()
public void setPointFilled(boolean fill)
public boolean isPointFilled()
public void setDisplayValues(boolean values)
public boolean isDisplayValues()
public void setWidth(int width)
public int getWidth()
public org.jdom.Element toXML()
public void fromXML(org.jdom.Element series)
|
OBEROn SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |