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:
Serializable
This class defines the different styles for the area chart.
This style belongs to the plot
AreaPlot
.- Since:
- 8.0
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final AreaStyle
This is a 2D area style with percent values.static final AreaStyle
This is a 2D area style with stacked values.static final AreaStyle
This is a 3D area style with percent values.static final AreaStyle
This is a 3D area style with stacked values. -
Method Summary
Modifier and TypeMethodDescriptionboolean
getAllowedDatasets
(Chart2 chart) Returns the list of dataset supported by this chart style.Creates a new area plot and initializes the plot with default settings.boolean
Returns this is a 2D or 3D percent area style.boolean
Returns this is a 2D or 3D stacked area style.Methods inherited from class com.inet.report.chart.plot.ChartStyle
hashCode, toString
-
Field Details
-
AREA2D_STACKED
This is a 2D area style with stacked values. -
AREA2D_PERCENT
This is a 2D area style with percent values. -
AREA3D_STACKED
This is a 3D area style with stacked values. -
AREA3D_PERCENT
This is a 3D area style with percent values.
-
-
Method Details
-
equals
- Overrides:
equals
in classChartStyle
-
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:
-
getAllowedDatasets
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:
-
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
-