Package com.inet.report.chart.plot
Class PieStyle
- java.lang.Object
-
- com.inet.report.chart.plot.ChartStyle
-
- com.inet.report.chart.plot.PieStyle
-
- All Implemented Interfaces:
java.io.Serializable
public class PieStyle extends ChartStyle
This class defines the different styles of the pie chart. This style belongs to the plotPiePlot
.- Since:
- 8.0
- See Also:
PIE2D
,PIE3D
,RING2D
,RING3D
, Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
PieStyle(java.lang.String name)
Private constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.util.List
getAllowedDatasets(Chart2 chart)
Returns the list of dataset supported by this chart style.AbstractPlot
getDefaultPlot()
Creates a new pie plot and initializes the plot with default settings.-
Methods inherited from class com.inet.report.chart.plot.ChartStyle
hashCode, toString
-
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classChartStyle
-
getDefaultPlot
public AbstractPlot getDefaultPlot()
Creates a new pie plot and initializes the plot with default settings.- Specified by:
getDefaultPlot
in classChartStyle
- Returns:
- the plot of type
PiePlot
. - Since:
- 8.0
- See Also:
AbstractPlot
-
getAllowedDatasets
public java.util.List getAllowedDatasets(Chart2 chart)
Returns the list of dataset supported by this chart style.- Specified by:
getAllowedDatasets
in classChartStyle
- Parameters:
chart
- the chart- Returns:
- the list of datasets.
- See Also:
Chart2
-
-