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 Details

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

    • equals

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

      public AbstractPlot getDefaultPlot()
      Creates a new continuous bar plot and initializes the plot with default settings.
      Specified by:
      getDefaultPlot in class com.inet.report.chart.plot.ContinuousStyle
      Returns:
      the plot of type ContinuousBarPlot.
      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 com.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