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.ContinuousStyleThis 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 ContinuousBarStyleBAR_DATEThis is a bar style with date values on the category axis.static ContinuousBarStyleBAR_NUMBERThis is a bar style with number values on the category axis.static ContinuousBarStyleBAR_STACKED_DATEThis is a 2D bar style with stacked date values.static ContinuousBarStyleBAR_STACKED_NUMBERThis is a 2D bar style with stacked number values.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.util.ListgetAllowedDatasets(Chart2 chart)Returns the list of dataset supported by this chart style.AbstractPlotgetDefaultPlot()Creates a new continuous bar plot and initializes the plot with default settings.booleanisSimpleBar()Returns this is a simple 2D style for number and date bar charts.booleanisStackedBar()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:
equalsin classChartStyle
-
getDefaultPlot
public AbstractPlot getDefaultPlot()
Creates a new continuous bar plot and initializes the plot with default settings.- Specified by:
getDefaultPlotin 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:
getAllowedDatasetsin 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
-
-