Package org.zkoss.chart.plotOptions
Class RangeDataLabels
- java.lang.Object
-
- org.zkoss.chart.Optionable
-
- org.zkoss.chart.plotOptions.DataLabels
-
- org.zkoss.chart.plotOptions.RangeDataLabels
-
- All Implemented Interfaces:
Serializable
,OptionDataListener
,org.zkoss.json.JSONAware
public class RangeDataLabels extends DataLabels
An option of data labels for rangeAll the options in this class support
DynamicalAttribute
.- Author:
- jumperchen
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.zkoss.chart.Optionable
NOT_NULL_VALUE, options
-
-
Constructor Summary
Constructors Constructor Description RangeDataLabels()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Number
getXHigh()
Returns X offset of the higher data labels relative to the point value.Number
getXLow()
Returns X offset of the lower data labels relative to the point valueNumber
getYHigh()
Returns Y offset of the higher data labels relative to the point value.Number
getYLow()
Returns Y offset of the lower data labels relative to the point value.void
setXHigh(Number xHigh)
Sets X offset of the higher data labels relative to the point value.void
setXLow(Number xLow)
Sets X offset of the lower data labels relative to the point valuevoid
setYHigh(Number yHigh)
Sets Y offset of the higher data labels relative to the point value.void
setYLow(Number yLow)
Sets Y offset of the lower data labels relative to the point value.-
Methods inherited from class org.zkoss.chart.plotOptions.DataLabels
getAlign, getAllowOverlap, getBackgroundColor, getBorderColor, getBorderRadius, getBorderWidth, getColor, getConnectorColor, getConnectorShape, getConnectorWidth, getDefer, getDistance, getFilter, getFormat, getFormatter, getLinkFormat, getLinkTextPath, getNodeFormat, getNodeFormatter, getNullFormat, getNullFormatter, getOverflow, getPadding, getPointFormat, getRotation, getRotationMode, getShadow, getShape, getStyle, getTextPath, getVerticalAlign, getX, getY, getZIndex, isAlternate, isCrop, isEnabled, isInside, isShadow, isSoftConnector, isUseHTML, setAlign, setAllowOverlap, setAlternate, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBorderColor, setBorderColor, setBorderColor, setBorderColor, setBorderRadius, setBorderRadius, setBorderWidth, setColor, setColor, setColor, setColor, setConnectorColor, setConnectorShape, setConnectorWidth, setCrop, setDefer, setDistance, setDistance, setEnabled, setFilter, setFormat, setFormatter, setInside, setLinkFormat, setLinkTextPath, setNodeFormat, setNodeFormatter, setNullFormat, setNullFormatter, setOverflow, setPadding, setPointFormat, setRotation, setRotation, setRotationMode, setShadow, setShadow, setShape, setSoftConnector, setStyle, setStyle, setTextPath, setUseHTML, setVerticalAlign, setX, setY, setZIndex
-
Methods inherited from class org.zkoss.chart.Optionable
addExtraAttr, addOptionDataListener, clearOptonDataListener, clone, containsKey, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, getAttr, getAttr, getClientState, getExtraAttr, merge, onChange, removeExtraAttr, removeKey, removeOptionDataListener, setAttr, setAttr, setAttr, setAttr, toJSONString, toString
-
-
-
-
Method Detail
-
getXHigh
public Number getXHigh()
Returns X offset of the higher data labels relative to the point value.Defaults to 0.
-
setXHigh
public void setXHigh(Number xHigh)
Sets X offset of the higher data labels relative to the point value.Defaults to 0.
-
getYHigh
public Number getYHigh()
Returns Y offset of the higher data labels relative to the point value.Defaults to -6.
-
setYHigh
public void setYHigh(Number yHigh)
Sets Y offset of the higher data labels relative to the point value.Defaults to -6.
-
getXLow
public Number getXLow()
Returns X offset of the lower data labels relative to the point valueDefaults to 0.
-
setXLow
public void setXLow(Number xLow)
Sets X offset of the lower data labels relative to the point valueDefaults to 0.
-
getYLow
public Number getYLow()
Returns Y offset of the lower data labels relative to the point value.Defaults to 16.
-
setYLow
public void setYLow(Number yLow)
Sets Y offset of the lower data labels relative to the point value.Defaults to 16.
-
-