Package com.inet.report.chart.plot
Class AreaStyle
- java.lang.Object
-
- com.inet.report.chart.plot.ChartStyle
-
- com.inet.report.chart.plot.AreaStyle
-
- All Implemented Interfaces:
java.io.Serializable
public class AreaStyle extends ChartStyle
This class defines the different styles for the area chart. This style belongs to the plotAreaPlot.- Since:
- 8.0
- See Also:
AREA2D_PERCENT,AREA2D_STACKED,AREA3D_PERCENT,AREA3D_STACKED, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static AreaStyleAREA2D_PERCENTThis is a 2D area style with percent values.static AreaStyleAREA2D_STACKEDThis is a 2D area style with stacked values.static AreaStyleAREA3D_PERCENTThis is a 3D area style with percent values.static AreaStyleAREA3D_STACKEDThis is a 3D area style with stacked values.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.util.ListgetAllowedDatasets(Chart2 chart)Returns the list of dataset supported by this chart style.AbstractPlotgetDefaultPlot()Creates a new area plot and initializes the plot with default settings.booleanisPercentArea()Returns this is a 2D or 3D percent area style.booleanisStackedArea()Returns this is a 2D or 3D stacked area style.-
Methods inherited from class com.inet.report.chart.plot.ChartStyle
hashCode, toString
-
-
-
-
Field Detail
-
AREA2D_STACKED
public static final AreaStyle AREA2D_STACKED
This is a 2D area style with stacked values.
-
AREA2D_PERCENT
public static final AreaStyle AREA2D_PERCENT
This is a 2D area style with percent values.
-
AREA3D_STACKED
public static final AreaStyle AREA3D_STACKED
This is a 3D area style with stacked values.
-
AREA3D_PERCENT
public static final AreaStyle AREA3D_PERCENT
This is a 3D area style with percent values.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classChartStyle
-
getDefaultPlot
public AbstractPlot getDefaultPlot()
Creates a new area plot and initializes the plot with default settings.- Specified by:
getDefaultPlotin classChartStyle- Returns:
- the plot of type
AreaPlot. - 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:
getAllowedDatasetsin classChartStyle- Parameters:
chart- the chart- Returns:
- the list of datasets.
- See Also:
Chart2
-
isPercentArea
public boolean isPercentArea()
Returns this is a 2D or 3D percent area style.- Returns:
- is a percent style.
- Since:
- 8.0
-
isStackedArea
public boolean isStackedArea()
Returns this is a 2D or 3D stacked area style.- Returns:
- is a stacked style.
- Since:
- 8.0
-
-