Package com.storedobject.chart
Class Axis.Line
java.lang.Object
com.storedobject.chart.AbstractPart
com.storedobject.chart.VisiblePart
com.storedobject.chart.Axis.Line
- All Implemented Interfaces:
ComponentPart,ComponentProperty,VisibleProperty
- Direct Known Subclasses:
Axis.AbstractTicks,Axis.GridLines,Axis.MinorGridLines
- Enclosing class:
Axis
A base class for various types of lines used in axis and coordinate systems.
- Author:
- Syam
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidEncode the JSON string with the properties of this.getStyle(boolean create) Get the style.voidSet the style.Methods inherited from class com.storedobject.chart.VisiblePart
isVisible, setVisible, validateMethods inherited from class com.storedobject.chart.AbstractPart
equals, getId, getLabelTag, getName, getSerial, getZ, hashCode, 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
className, getRenderingIndex, setName, setRenderingIndexMethods inherited from interface com.storedobject.chart.VisibleProperty
hide, show
-
Constructor Details
-
Line
public Line()Constructor.
-
-
Method Details
-
encodeJSON
Description copied from interface:ComponentPropertyEncode the JSON string with the properties of this.- Specified by:
encodeJSONin interfaceComponentProperty- Overrides:
encodeJSONin classAbstractPart- Parameters:
sb- Encoded JSON string to be appended to this.
-
getStyle
Get the style.- Parameters:
create- Whether to create if not exists or not.- Returns:
- Style.
-
setStyle
-