sv.graph
Class Fxi
java.lang.Object
sv.graph.Fx
sv.graph.Fxi
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- Fxt
- public class Fxi
- extends Fx
The Fxi graph class contains all the elements of a graph.
An Fxi graph contains 1 or more indexed datasets, index label, plot area, axes, legend, and textual labels.
Each dataset with the same name is put in a profile. The profiles are color-coded and can be animated. A new profile is created when a dataset is added with a new name. The name of the dataset is drawn in the legend.
The datasets can be indexed by any value other than time. Use the Fxt class for time indexed datasets.
The Fx class is for datasets that are not indexed.
- See Also:
- Serialized Form
Constructor Summary |
Fxi(java.lang.String graphName)
Create a graph of indexed datasets. |
Methods inherited from class sv.graph.Fx |
addDataset, addLabel, addLegendTitle, findClosestDataset, getLegendTitle, getTitleLabel, getXLabel, getXNumberStyle, getXRange, getYLabel, getYNumberStyle, getYRange, isLegend, isShowLines, isShowMarkers, isXGridlines, isYGridlines, setLegendTitle, setLocation, setPlotOrigin, setPlotSize, setScalable, setTitleLabel, setTitleLabel, setXLabel, setXLabel, setXNumberStyle, setXRange, setYLabel, setYLabel, setYLabel, setYNumberStyle, setYRange, showGridlines, showLegend |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Fxi
public Fxi(java.lang.String graphName)
- Create a graph of indexed datasets.
- Parameters:
graphName
- - The name of the graph.
addDataset
public void addDataset(Data1DIndex data1DIndex)
setIndexLabel
public void setIndexLabel(java.lang.String text)
- Set the text of the index label.
- Parameters:
text
- - The text to precede the index value.
showLines
public void showLines(boolean show)
- Description copied from class:
Fx
- Control drawing of dataset lines.
- Overrides:
showLines
in class Fx
- Parameters:
show
- - true: draw the lines to connect the data points (default); false: hide the lines.
showMarkers
public void showMarkers(boolean show)
- Description copied from class:
Fx
- Control drawing of markers at data points.
- Overrides:
showMarkers
in class Fx
- Parameters:
show
- - true: draw a marker at each data point; false: hide the markers (default).