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
FieldsModifier and TypeFieldDescriptionstatic final AreaStyleThis is a 2D area style with percent values.static final AreaStyleThis is a 2D area style with stacked values.static final AreaStyleThis is a 3D area style with percent values.static final AreaStyleThis is a 3D area style with stacked values. -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAllowedDatasets(Chart2 chart) Returns the list of dataset supported by this chart style.Creates a new area plot and initializes the plot with default settings.booleanReturns this is a 2D or 3D percent area style.booleanReturns 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:
equalsin classChartStyle
-
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:
-
getAllowedDatasets
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:
-
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
-