Package com.storedobject.chart
Class DataZoom.DataShadowStyle
java.lang.Object
com.storedobject.chart.DataZoom.DataShadowStyle
- All Implemented Interfaces:
ComponentProperty
- Enclosing class:
DataZoom
Used to style the data shadow.
- Author:
- Syam
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidEncode the JSON string with the properties of this.final AreaStylegetAreaStyle(boolean create) Get the area style.final LineStylegetLineStyle(boolean create) Get the line style.voidsetAreaStyle(AreaStyle areaStyle) Set the area style.voidsetLineStyle(LineStyle lineStyle) Set the line style.
-
Constructor Details
-
DataShadowStyle
public DataShadowStyle()Constructor.
-
-
Method Details
-
encodeJSON
Description copied from interface:ComponentPropertyEncode the JSON string with the properties of this.- Specified by:
encodeJSONin interfaceComponentProperty- Parameters:
sb- Encoded JSON string to be appended to this.
-
getLineStyle
Get the line style.- Parameters:
create- Whether to create it or not.- Returns:
- Line style.
-
setLineStyle
Set the line style.- Parameters:
lineStyle- Line style.
-
getAreaStyle
Get the area style.- Parameters:
create- Whether to create it or not.- Returns:
- Area style.
-
setAreaStyle
Set the area style.- Parameters:
areaStyle- Area style.
-