Class 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 plot ContinuousBarPlot.
    Since:
    8.0
    See Also:
    BAR_NUMBER, BAR_DATE, Serialized Form
    • 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 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:
        AbstractPlot
      • getAllowedDatasets

        public java.util.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:
        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