Package com.storedobject.chart
Class AngleAxis
java.lang.Object
com.storedobject.chart.AbstractPart
com.storedobject.chart.VisiblePart
com.storedobject.chart.Axis
com.storedobject.chart.AngleAxis
- All Implemented Interfaces:
ComponentPart,ComponentProperty,VisibleProperty,Wrapped
Representation of angle axis.
Note: AngleAxis doesn't support "name" and its associated properties. So, setting it will not have any
effect.
- Author:
- Syam
-
Nested Class Summary
Nested classes/interfaces inherited from class com.storedobject.chart.Axis
Axis.AbstractTicks, Axis.GridAreas, Axis.GridLines, Axis.Label, Axis.Line, Axis.MinorGridLines, Axis.MinorTicks, Axis.Pointer, Axis.PointerHandle, Axis.PointerLabel, Axis.PointerType, Axis.Ticks -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCalling this method causes the axis to be drawn in the anticlockwise direction.voidEncode the JSON string with the properties of this.intGet the starting angle.voidsetStartingAngle(int startingAngle) Set the starting angle.Methods inherited from class com.storedobject.chart.Axis
equals, getDataType, getGridAreas, getGridLines, getLabel, getMinorGridLines, getMinorTicks, getName, getNameGap, getNameLocation, getNameRotation, getNameTextStyle, getPointer, getRenderingIndex, getTicks, hashCode, invert, isAllowEvents, setAllowEvents, setData, setDivisions, setGridAreas, setGridLines, setLabel, setMax, setMaxAsMaxData, setMin, setMinAsMinData, setMinorGridLines, setMinorTicks, setName, setNameGap, setNameLocation, setNameRotation, setNameTextStyle, setPointer, setRenderingIndex, setTicks, showZeroPosition, validateMethods inherited from class com.storedobject.chart.VisiblePart
isVisible, setVisibleMethods inherited from class com.storedobject.chart.AbstractPart
getId, getLabelTag, getSerial, getZ, hasId, setSerial, setZMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.storedobject.chart.ComponentPart
classNameMethods inherited from interface com.storedobject.chart.VisibleProperty
hide, show
-
Constructor Details
-
AngleAxis
-
AngleAxis
Constructor.- Parameters:
data- Data type will be determined from the data provider. Note: It is not required to use the same data on this axis.
-
-
Method Details
-
encodeJSON
Description copied from interface:ComponentPropertyEncode the JSON string with the properties of this.- Specified by:
encodeJSONin interfaceComponentProperty- Overrides:
encodeJSONin classAxis- Parameters:
sb- Encoded JSON string to be appended to this.
-
anticlockwise
public void anticlockwise()Calling this method causes the axis to be drawn in the anticlockwise direction. -
getStartingAngle
public int getStartingAngle()Get the starting angle.- Returns:
- Angle in degrees.
-
setStartingAngle
public void setStartingAngle(int startingAngle) Set the starting angle.- Parameters:
startingAngle- Angle in degrees.
-