Module org.jooq
Package org.jooq

Class ChartFormat


  • public final class ChartFormat
    extends Object
    Author:
    Lukas Eder
    • Constructor Detail

      • ChartFormat

        public ChartFormat()
    • Method Detail

      • dimensions

        public ChartFormat dimensions​(int newWidth,
                                      int newHeight)
        The new chart dimensions, defaulting to 80 x 25.
      • width

        public ChartFormat width​(int newWidth)
        The new chart width, defaulting to 80.
      • width

        public int width()
        The chart width.
      • height

        public ChartFormat height​(int newHeight)
        The new chart height, defaulting to 25.
      • height

        public int height()
        The chart height.
      • category

        public ChartFormat category​(int newCategory)
        The new category source column number, defaulting to 0.
      • category

        public int category()
        The category source column number.
      • categoryAsText

        public ChartFormat categoryAsText​(boolean newCategoryAsText)
        The new category as text value, defaulting to true.
      • categoryAsText

        public boolean categoryAsText()
        The category as text value.
      • values

        public ChartFormat values​(int... newValues)
        The new value source column numbers, defaulting to { 1 }.
      • values

        public int[] values()
        The value source column numbers.
      • shades

        public ChartFormat shades​(char... newShades)
        The new column shades, defaulting to { 'X' }.
      • shades

        public char[] shades()
        The value column shades.
      • showLegends

        public ChartFormat showLegends​(boolean newShowHorizontalLegend,
                                       boolean newShowVerticalLegend)
        Whether to show legends, defaulting to true.
      • showHorizontalLegend

        public ChartFormat showHorizontalLegend​(boolean newShowHorizontalLegend)
        Whether to show the horizontal legend, defaulting to true.
      • showHorizontalLegend

        public boolean showHorizontalLegend()
        Whether to show the horizontal legend.
      • showVerticalLegend

        public ChartFormat showVerticalLegend​(boolean newShowVerticalLegend)
        Whether to show the vertical legend, defaulting to true.
      • showVerticalLegend

        public boolean showVerticalLegend()
        Whether to show the vertical legend.
      • newline

        public ChartFormat newline​(String newNewline)
        The new newline character, defaulting to \n.
      • newline

        public String newline()
        The newline character.
      • numericFormat

        public ChartFormat numericFormat​(DecimalFormat newNumericFormat)
        The new numeric format, defaulting to ###,###.00.
      • numericFormat

        public DecimalFormat numericFormat()
        The numeric format.