Package com.storedobject.chart
Class PolarProperty
java.lang.Object
com.storedobject.chart.PolarProperty
- All Implemented Interfaces:
ComponentProperty
Polar property is visible in
PieChart, PolarCoordinate, RadarCoordinate etc. where
an angular and a radial element exist.- Author:
- Syam
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidEncode the JSON string with the properties of this.voidSet the center.voidsetInnerRadius(Size innerRadius) Set the inner radius (generally to crate a hole at the center).voidSet size of the radius.
-
Constructor Details
-
PolarProperty
public PolarProperty()
-
-
Method Details
-
setRadius
-
setInnerRadius
Set the inner radius (generally to crate a hole at the center).- Parameters:
innerRadius- Inner radius to set.
-
setCenter
-
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.
-