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 AreaStyle
AREA2D_PERCENT
This is a 2D area style with percent values.static AreaStyle
AREA2D_STACKED
This is a 2D area style with stacked values.static AreaStyle
AREA3D_PERCENT
This is a 3D area style with percent values.static AreaStyle
AREA3D_STACKED
This is a 3D area style with stacked values.
-
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 area plot and initializes the plot with default settings.boolean
isPercentArea()
Returns this is a 2D or 3D percent area style.boolean
isStackedArea()
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:
equals
in classChartStyle
-
getDefaultPlot
public AbstractPlot getDefaultPlot()
Creates a new area plot and initializes the plot with default settings.- Specified by:
getDefaultPlot
in 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:
getAllowedDatasets
in 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
-
-