public class ScatterDataPoint extends DataPoint
desiredSize, isEmpty, isPositive
PROPERTY_CHANGED_MESSAGE, PROPERTY_CHANGING_MESSAGE, trackPropertyChanged, trackPropertyChanging
Constructor and Description |
---|
ScatterDataPoint() |
Modifier and Type | Method and Description |
---|---|
Object[] |
getTooltipTokens()
Gets the Object that may be displayed for this data point by the widget tooltip.
|
Object |
getValueForAxis(AxisModel axis)
Gets value corresponding to the given axis which varies among the different types of axes
and chart implementations.
|
NumericalAxisPlotInfo |
getXPlot()
Gets the current numerical x plot instance.
|
double |
getXValue()
Gets the value that is provided for the x-axis of the cartesian widget.
|
NumericalAxisPlotInfo |
getYPlot()
Gets the current numerical y plot instance.
|
double |
getYValue()
Gets the value that is provided for the y-axis of the cartesian widget.
|
void |
setValueFromAxis(AxisModel axis,
Object value)
Sets a value by converting it to a plot instance corresponding to the current chart type
and assigns it accordingly to the type of the given axis.
|
void |
setxPlot(NumericalAxisPlotInfo xPlot)
Sets the current numerical x plot instance.
|
void |
setXValue(double value)
Sets the value that is provided for the x-axis of the cartesian widget.
|
void |
setyPlot(NumericalAxisPlotInfo yPlot)
Sets the current numerical y plot instance.
|
void |
setYValue(double value)
Sets the value that is provided for the y-axis of the cartesian widget.
|
getCenter, getCenterX, getCenterY, getDataItem, getIsSelected, getLabel, setDataItem, setIsSelected, setLabel
applyLayoutRounding, arrange, arrange, chartArea, clearValue, collectionIndex, getLayoutSlot, getNodeState, getParent, getPresenter, index, invalidate, isTreeLoaded, isVisible, load, setIsVisible, setParent, setValue
getTypedValue, getValue, isLocalValue
public double getXValue()
public void setXValue(double value)
value
- the new x value.public double getYValue()
public void setYValue(double value)
value
- the new y value.public NumericalAxisPlotInfo getXPlot()
public void setxPlot(NumericalAxisPlotInfo xPlot)
xPlot
- the new x plot.public NumericalAxisPlotInfo getYPlot()
public void setyPlot(NumericalAxisPlotInfo yPlot)
yPlot
- the new y plot.public Object getValueForAxis(AxisModel axis)
DataPoint
getValueForAxis
in class DataPoint
axis
- the axis to which the value is associated.public void setValueFromAxis(AxisModel axis, Object value)
DataPoint
setValueFromAxis
in class DataPoint
axis
- the axis providing the type of assignment that will occur.value
- the value from which to generate the plot info.public Object[] getTooltipTokens()
DataPoint
getTooltipTokens
in class DataPoint