rice.visualization.data
Class LineGraphView
java.lang.Object
rice.visualization.data.DataView
rice.visualization.data.LineGraphView
-
All Implemented Interfaces:
- java.io.Serializable
-
public class LineGraphView
- extends DataView
- See Also:
- Serialized Form
Field Summary |
protected boolean |
area
|
protected java.util.Vector |
colors
|
protected java.util.Vector |
domains
|
protected java.util.Vector |
labels
|
protected boolean |
legend
|
protected java.util.Vector |
ranges
|
protected java.lang.String |
xLabel
|
protected java.lang.String |
yLabel
|
Constructor Summary |
LineGraphView(java.lang.String name,
int width,
int height,
Constraints constraints,
java.lang.String xLabel,
java.lang.String yLabel,
boolean area,
boolean legend)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
domains
protected java.util.Vector domains
ranges
protected java.util.Vector ranges
labels
protected java.util.Vector labels
xLabel
protected java.lang.String xLabel
yLabel
protected java.lang.String yLabel
colors
protected java.util.Vector colors
area
protected boolean area
legend
protected boolean legend
LineGraphView
public LineGraphView(java.lang.String name,
int width,
int height,
Constraints constraints,
java.lang.String xLabel,
java.lang.String yLabel,
boolean area,
boolean legend)
addSeries
public void addSeries(java.lang.String name,
double[] domain,
double[] range,
Color color)
-
getSeriesCount
public int getSeriesCount()
-
getDomain
public double[] getDomain(int index)
-
getLabel
public java.lang.String getLabel(int index)
-
getColor
public Color getColor(int index)
-
getRange
public double[] getRange(int index)
-
getXLabel
public java.lang.String getXLabel()
-
getYLabel
public java.lang.String getYLabel()
-
getArea
public boolean getArea()
-
getLegend
public boolean getLegend()
-
Copyright © 2001-2005 - Rice Pastry.