Package com.storedobject.chart
Interface HasPolarProperty
- All Known Implementing Classes:
ComposedPart,DonutChart,GaugeChart,NightingaleRoseChart,PieChart,PolarCoordinate,RadarCoordinate,SankeyData.Edge,SankeyData.Node,SunburstChart
public interface HasPolarProperty
Interface to denote that a
ComponentPart has PolarProperty.- Author:
- Syam
-
Method Summary
Modifier and TypeMethodDescriptiongetPolarProperty(boolean create) Get the polar property.default voidsetHoleRadius(Size size) Set the hole radius (if a hole is required at the center).voidsetPolarProperty(PolarProperty polarProperty) Set the polar property.default voidSet the radius.
-
Method Details
-
getPolarProperty
Get the polar property. (Iftrueis passed as the parameter, a new polar property will be created if not already exists).- Parameters:
create- Whether to create it or not.- Returns:
- Polar property.
-
setPolarProperty
Set the polar property.- Parameters:
polarProperty- Polar property to set. It could benull.
-
setHoleRadius
Set the hole radius (if a hole is required at the center).- Parameters:
size- Hole radius.
-
setRadius
-