Class BarStyle

    • 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:
        equals in class ChartStyle
      • getAllowedDatasets

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