Package com.inet.report.chart.plot
Class BarStyle
- java.lang.Object
-
- com.inet.report.chart.plot.ChartStyle
-
- com.inet.report.chart.plot.BarStyle
-
- All Implemented Interfaces:
java.io.Serializable
public class BarStyle extends ChartStyle
This class defines the different styles for the bar chart. This style belongs to the plotBarPlot.- Since:
- 8.0
- See Also:
BAR2D,BAR2D_PERCENT,BAR2D_STACKED,BAR3D,BAR3D_PERCENT,BAR3D_STACKED, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BarStyleBAR2DThis is a 2D bar style.static BarStyleBAR2D_PERCENTThis is a 2D bar style with percent values.static BarStyleBAR2D_STACKEDThis is a 2D bar style with stacked values.static BarStyleBAR3DThis is a 3D bar style.static BarStyleBAR3D_PERCENTThis is a 3D bar style with percent values.static BarStyleBAR3D_STACKEDThis is a 3D bar style with stacked 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 bar plot and initializes the plot with default settings.booleanisPercentBar()Returns this is a percent 2D or 3D style.booleanisSimpleBar()Returns this is a simple 2D or 3D style.booleanisStackedBar()Returns this is a stacked 2D or 3D style.-
Methods inherited from class com.inet.report.chart.plot.ChartStyle
hashCode, toString
-
-
-
-
Field Detail
-
BAR2D
public static final BarStyle BAR2D
This is a 2D bar style.
-
BAR2D_STACKED
public static final BarStyle BAR2D_STACKED
This is a 2D bar style with stacked values.
-
BAR2D_PERCENT
public static final BarStyle BAR2D_PERCENT
This is a 2D bar style with percent values.
-
BAR3D
public static final BarStyle BAR3D
This is a 3D bar style.
-
BAR3D_STACKED
public static final BarStyle BAR3D_STACKED
This is a 3D bar style with stacked values.
-
BAR3D_PERCENT
public static final BarStyle BAR3D_PERCENT
This is a 3D bar style with percent values.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classChartStyle
-
getDefaultPlot
public AbstractPlot getDefaultPlot()
Creates a new bar plot and initializes the plot with default settings.- Specified by:
getDefaultPlotin classChartStyle- Returns:
- the plot of type
BarPlot. - 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 classChartStyle- Parameters:
chart- the chart- Returns:
- the list of datasets.
- See Also:
Chart2
-
isSimpleBar
public boolean isSimpleBar()
Returns this is a simple 2D or 3D style.- Returns:
- is a simple style.
- Since:
- 8.0
-
isStackedBar
public boolean isStackedBar()
Returns this is a stacked 2D or 3D style.- Returns:
- is a stacked style.
- Since:
- 8.0
-
isPercentBar
public boolean isPercentBar()
Returns this is a percent 2D or 3D style.- Returns:
- is a percent style.
- Since:
- 8.0
-
-