Class CategoryStyler

    • Constructor Detail

      • CategoryStyler

        public CategoryStyler()
        Constructor
    • Method Detail

      • setAllStyles

        protected void setAllStyles()
      • setDefaultSeriesRenderStyle

        public CategoryStyler setDefaultSeriesRenderStyle​(CategorySeries.CategorySeriesRenderStyle chartCategorySeriesRenderStyle)
        Sets the default series render style for the chart (bar, stick, line, scatter, area, etc.) You can override the series render style individually on each Series object.
        Parameters:
        chartCategorySeriesRenderStyle -
      • getAvailableSpaceFill

        public double getAvailableSpaceFill()
      • setAvailableSpaceFill

        public CategoryStyler setAvailableSpaceFill​(double availableSpaceFill)
        Sets the available space for rendering each category as a percentage. For a bar chart with one series, it will be the width of the bar as a percentage of the maximum space alloted for the bar. If there are three series and three bars, the three bars will share the available space. This affects all category series render types, not only bar charts. Full width is 100%, i.e. 1.0
        Parameters:
        availableSpaceFill -
      • isOverlapped

        public boolean isOverlapped()
      • setOverlapped

        public CategoryStyler setOverlapped​(boolean isOverlapped)
        set whether or not series renderings (i.e. bars, stick, etc.) are overlapped. Otherwise they are placed side-by-side.
        Parameters:
        isOverlapped -
      • isStacked

        public boolean isStacked()
      • setStacked

        public void setStacked​(boolean isStacked)
        Set whether or not series renderings (i.e. bars, stick, etc.) are stacked.
        Parameters:
        isStacked -
      • setTheme

        public void setTheme​(Theme theme)
        Set the theme the styler should use
        Parameters:
        theme -