public class RangeDataPoint extends CategoricalDataPointBase
categoricalPlot, numericalPlot
desiredSize, isEmpty, isPositive
PROPERTY_CHANGED_MESSAGE, PROPERTY_CHANGING_MESSAGE, trackPropertyChanged, trackPropertyChanging
Constructor and Description |
---|
RangeDataPoint()
Creates a new instance of the
RangeDataPoint class. |
Modifier and Type | Method and Description |
---|---|
double |
getHigh()
Gets the high associated with the point.
|
double |
getLow()
Gets the low associated with the point.
|
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.
|
NumericalAxisRangePlotInfo |
numericalPlot()
Gets the current numerical range plot info.
|
void |
setHigh(double value)
Sets the high associated with the point.
|
void |
setLow(double value)
Sets the low associated with the point.
|
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.
|
getCategory, setCategory
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 RangeDataPoint()
RangeDataPoint
class.public double getHigh()
public void setHigh(double value)
value
- the new high.public double getLow()
public void setLow(double value)
value
- the new low.public NumericalAxisRangePlotInfo numericalPlot()
public Object getValueForAxis(AxisModel axis)
DataPoint
getValueForAxis
in class DataPoint
axis
- the axis to which the value is associated.public Object[] getTooltipTokens()
DataPoint
getTooltipTokens
in class DataPoint
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.