Interface IsDefaultBarDatasets

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      double getBarPercentage()
      Returns the percent (0-1) of the available width each bar should be within the category width.
      1.0 will take the whole category width and put the bars right next to each other.
      int getBarThickness()
      Returns the width of each bar in pixels.
      If set to 'flex', it computes "optimal" sample widths that globally arrange bars side by side.
      If not set, the base sample widths are calculated automatically so that they take the full available widths without overlap.
      Then, the bars are sized using barPercentage and categoryPercentage.
      double getCategoryPercentage()
      Returns the percent (0-1) of the available width each category should be within the sample width.
      int getMaxBarThickness()
      Returns the maximum bar thickness.
      int getMinBarLength()
      Returns a minimum length in pixels.
      boolean isGrouped()
      When true, all the data sets at same index value will be placed next to each other centering on that index value.
      When false, each bar is placed on its actual index-axis value.
    • Method Detail

      • getBarPercentage

        double getBarPercentage()
        Returns the percent (0-1) of the available width each bar should be within the category width.
        1.0 will take the whole category width and put the bars right next to each other.
        Returns:
        percent (0-1) of the available width each bar should be within the category width.
        1.0 will take the whole category width and put the bars right next to each other.
      • getCategoryPercentage

        double getCategoryPercentage()
        Returns the percent (0-1) of the available width each category should be within the sample width.
        Returns:
        the percent (0-1) of the available width each category should be within the sample width.
      • getBarThickness

        int getBarThickness()
        Returns the width of each bar in pixels.
        If set to 'flex', it computes "optimal" sample widths that globally arrange bars side by side.
        If not set, the base sample widths are calculated automatically so that they take the full available widths without overlap.
        Then, the bars are sized using barPercentage and categoryPercentage.
        Returns:
        width of each bar in pixels.
        If not set, the base sample widths are calculated automatically so that they take the full available widths without overlap.
        Then, the bars are sized using barPercentage and categoryPercentage.
      • getMaxBarThickness

        int getMaxBarThickness()
        Returns the maximum bar thickness.
        Returns:
        the maximum bar thickness.
      • getMinBarLength

        int getMinBarLength()
        Returns a minimum length in pixels.
        Returns:
        a minimum length in pixels.
      • isGrouped

        boolean isGrouped()
        When true, all the data sets at same index value will be placed next to each other centering on that index value.
        When false, each bar is placed on its actual index-axis value.
        Returns:
        if true, all the data sets at same index value will be placed next to each other centering on that index value.