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:
java.io.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 plotContinuousBarPlot
.- Since:
- 8.0
- See Also:
BAR_NUMBER
,BAR_DATE
, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ContinuousBarStyle
BAR_DATE
This is a bar style with date values on the category axis.static ContinuousBarStyle
BAR_NUMBER
This is a bar style with number values on the category axis.static ContinuousBarStyle
BAR_STACKED_DATE
This is a 2D bar style with stacked date values.static ContinuousBarStyle
BAR_STACKED_NUMBER
This is a 2D bar style with stacked number 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 continuous bar plot and initializes the plot with default settings.boolean
isSimpleBar()
Returns this is a simple 2D style for number and date bar charts.boolean
isStackedBar()
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 Detail
-
BAR_NUMBER
public static final ContinuousBarStyle BAR_NUMBER
This is a bar style with number values on the category axis.
-
BAR_DATE
public static final ContinuousBarStyle BAR_DATE
This is a bar style with date values on the category axis.
-
BAR_STACKED_NUMBER
public static final ContinuousBarStyle BAR_STACKED_NUMBER
This is a 2D bar style with stacked number values.
-
BAR_STACKED_DATE
public static final ContinuousBarStyle BAR_STACKED_DATE
This is a 2D bar style with stacked date values.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classChartStyle
-
getDefaultPlot
public AbstractPlot 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:
AbstractPlot
-
getAllowedDatasets
public java.util.List getAllowedDatasets(Chart2 chart)
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:
Chart2
-
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
-
-