public class ScaleData
extends java.lang.Object
JSVPanel needs to to display a
graph with a single plot. (For graphs that require multiple plots to be
overlaid.| Modifier and Type | Field and Description |
|---|---|
java.text.DecimalFormat[] |
formatters
The formatter for the X and Y scales
If the array is null, then this is a temporary set for 1D ZoomBox
|
int[] |
hashNums
The precision (number of decimal places) of the X and Y values
|
double |
maxXOnScale
the maximim X value on the scale, usually maxX
|
double |
maxYOnScale |
double |
minXOnScale
the minimum X value on the scale, usually minX
|
double |
minYOnScale |
double[] |
steps
The step values for the X and Y scales
|
| Constructor and Description |
|---|
ScaleData(Coordinate[] coords,
int start,
int end,
boolean isContinuous,
boolean isInverted)
Calculates values that
JSVPanel needs in order to render a
graph, (eg. |
public double minXOnScale
public double maxXOnScale
public int[] hashNums
public java.text.DecimalFormat[] formatters
public double[] steps
public double minYOnScale
public double maxYOnScale
public ScaleData(Coordinate[] coords, int start, int end, boolean isContinuous, boolean isInverted)
JSVPanel needs in order to render a
graph, (eg. scale, min and max values) and stores the values in the class
ScaleData.coords - the array of coordinatesstart - the start indexend - the end indexisContinuous - isInverted -