Package com.inet.report.chart.plot
Class ContinuousBarStyle
java.lang.Object
com.inet.report.chart.plot.ChartStyle
com.inet.report.chart.plot.ContinuousStyle
com.inet.report.chart.plot.ContinuousBarStyle
- All Implemented Interfaces:
Serializable
public class ContinuousBarStyle
extends com.inet.report.chart.plot.ContinuousStyle
This class defines the different styles of the continuous bar chart.
This style belongs to the plot
ContinuousBarPlot
.- Since:
- 8.0
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ContinuousBarStyle
This is a bar style with date values on the category axis.static final ContinuousBarStyle
This is a bar style with number values on the category axis.static final ContinuousBarStyle
This is a 2D bar style with stacked date values.static final ContinuousBarStyle
This is a 2D bar style with stacked number values. -
Method Summary
Modifier and TypeMethodDescriptionboolean
getAllowedDatasets
(Chart2 chart) Returns the list of dataset supported by this chart style.Creates a new continuous bar plot and initializes the plot with default settings.boolean
Returns this is a simple 2D style for number and date bar charts.boolean
Returns this is a stacked 2D bar style for number and date bar charts.Methods inherited from class com.inet.report.chart.plot.ContinuousStyle
getDefaultAxis, isDate, isNumber
Methods inherited from class com.inet.report.chart.plot.ChartStyle
hashCode, toString
-
Field Details
-
BAR_NUMBER
This is a bar style with number values on the category axis. -
BAR_DATE
This is a bar style with date values on the category axis. -
BAR_STACKED_NUMBER
This is a 2D bar style with stacked number values. -
BAR_STACKED_DATE
This is a 2D bar style with stacked date values.
-
-
Method Details
-
equals
- Overrides:
equals
in classChartStyle
-
getDefaultPlot
Creates a new continuous bar plot and initializes the plot with default settings.- Specified by:
getDefaultPlot
in classcom.inet.report.chart.plot.ContinuousStyle
- Returns:
- the plot of type
ContinuousBarPlot
. - Since:
- 8.0
- See Also:
-
getAllowedDatasets
Returns the list of dataset supported by this chart style.- Specified by:
getAllowedDatasets
in classcom.inet.report.chart.plot.ContinuousStyle
- Parameters:
chart
- the chart- Returns:
- the list of datasets.
- See Also:
-
isSimpleBar
public boolean isSimpleBar()Returns this is a simple 2D style for number and date bar charts.- Returns:
- is a simple style.
- Since:
- 22.10
-
isStackedBar
public boolean isStackedBar()Returns this is a stacked 2D bar style for number and date bar charts. Multiple values on the same position will be combined to a bar.- Returns:
- is a stacked style.
- Since:
- 22.10
-