org.jfree.data.xy
Class VectorDataItem
- Cloneable, Comparable, Serializable
A data item representing data in the form (x, y, deltaX, deltaY), intended
for use by the
VectorSeries
class.
VectorDataItem(double x, double y, double deltaX, double deltaY) - Creates a new instance of
YIntervalItem .
|
VectorDataItem
public VectorDataItem(double x,
double y,
double deltaX,
double deltaY)
Creates a new instance of YIntervalItem
.
x
- the x-value.y
- the y-value.deltaX
- the vector x.deltaY
- the vector y.
getVector
public Vector getVector()
Returns the vector.
- The vector (possibly
null
).
getVectorX
public double getVectorX()
Returns the x-component for the vector.
getVectorY
public double getVectorY()
Returns the y-component for the vector.
getXValue
public double getXValue()
Returns the x-value.
- The x-value (never
null
).
getYValue
public double getYValue()
Returns the y-value.