Class BarStyle

java.lang.Object
com.inet.report.chart.plot.ChartStyle
com.inet.report.chart.plot.BarStyle
All Implemented Interfaces:
Serializable

public class BarStyle extends ChartStyle
This class defines the different styles for the bar chart. This style belongs to the plot BarPlot.
Since:
8.0
See Also:
  • Field Details

    • 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_BOXED

      public static final BarStyle BAR2D_BOXED
      This is a 2D bar style with boxed 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 Details

    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class ChartStyle
    • getDefaultPlot

      public AbstractPlot getDefaultPlot()
      Creates a new bar plot and initializes the plot with default settings.
      Specified by:
      getDefaultPlot in class ChartStyle
      Returns:
      the plot of type BarPlot.
      Since:
      8.0
      See Also:
    • getAllowedDatasets

      public List getAllowedDatasets(Chart2 chart)
      Returns the list of dataset supported by this chart style.
      Specified by:
      getAllowedDatasets in class ChartStyle
      Parameters:
      chart - the chart
      Returns:
      the list of datasets.
      See Also:
    • 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