Package org.zkoss.chart
Class YAxisLabels
- java.lang.Object
-
- org.zkoss.chart.Optionable
-
- org.zkoss.chart.AxisLabels
-
- org.zkoss.chart.YAxisLabels
-
- All Implemented Interfaces:
Serializable,OptionDataListener,org.zkoss.json.JSONAware
public class YAxisLabels extends AxisLabels
A axis labels option for YAxisAll 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 YAxisLabels()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NumbergetX()Returns the x position offset of the label relative to the tick position on the axis.NumbergetY()Returns the y position offset of the label relative to the tick position on the axis.voidsetX(Number x)Sets the x position offset of the label relative to the tick position on the axis.voidsetY(Number y)Sets the y position offset of the label relative to the tick position on the axis.-
Methods inherited from class org.zkoss.chart.AxisLabels
getAlign, getAllowOverlap, getAutoRotation, getAutoRotationLimit, getDistance, getFormat, getFormatter, getMaxStaggerLines, getOverflow, getPadding, getPosition3D, getRotation, getStaggerLines, getStep, getStyle, getZIndex, isEnabled, isReserveSpace, isSkew3D, isUseHTML, setAlign, setAllowOverlap, setAutoRotation, setAutoRotation, setAutoRotationLimit, setDistance, setEnabled, setFormat, setFormatter, setMaxStaggerLines, setOverflow, setPadding, setPosition3D, setReserveSpace, setRotation, setRotation, setSkew3D, setStaggerLines, setStep, setStyle, setStyle, setUseHTML, 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
-
getX
public Number getX()
Returns the x position offset of the label relative to the tick position on the axis.Default: -8
- Overrides:
getXin classAxisLabels
-
setX
public void setX(Number x)
Sets the x position offset of the label relative to the tick position on the axis.Default: -8
- Overrides:
setXin classAxisLabels
-
getY
public Number getY()
Returns the y position offset of the label relative to the tick position on the axis.Default: 3
- Overrides:
getYin classAxisLabels
-
setY
public void setY(Number y)
Sets the y position offset of the label relative to the tick position on the axis.Default: 3
- Overrides:
setYin classAxisLabels
-
-