Class Plot.PlotOptions

java.lang.Object
velo.ladaalpha.misc.Plot.PlotOptions
Enclosing class:
Plot

public static class Plot.PlotOptions extends Object
The Class PlotOptions.
  • Method Details

    • title

      public Plot.PlotOptions title(String title)
      Title.
      Parameters:
      title - the title
      Returns:
      the plot options
    • width

      public Plot.PlotOptions width(int width)
      Width.
      Parameters:
      width - the width
      Returns:
      the plot options
    • height

      public Plot.PlotOptions height(int height)
      Height.
      Parameters:
      height - the height
      Returns:
      the plot options
    • bgColor

      public Plot.PlotOptions bgColor(Color color)
      Bg color.
      Parameters:
      color - the color
      Returns:
      the plot options
    • fgColor

      public Plot.PlotOptions fgColor(Color color)
      Fg color.
      Parameters:
      color - the color
      Returns:
      the plot options
    • titleFont

      public Plot.PlotOptions titleFont(Font font)
      Title font.
      Parameters:
      font - the font
      Returns:
      the plot options
    • padding

      public Plot.PlotOptions padding(int padding)
      Padding.
      Parameters:
      padding - the padding
      Returns:
      the plot options
    • plotPadding

      public Plot.PlotOptions plotPadding(int padding)
      Plot padding.
      Parameters:
      padding - the padding
      Returns:
      the plot options
    • labelPadding

      public Plot.PlotOptions labelPadding(int padding)
      Label padding.
      Parameters:
      padding - the padding
      Returns:
      the plot options
    • labelFont

      public Plot.PlotOptions labelFont(Font font)
      Label font.
      Parameters:
      font - the font
      Returns:
      the plot options
    • grids

      public Plot.PlotOptions grids(int byX, int byY)
      Grids.
      Parameters:
      byX - the by X
      byY - the by Y
      Returns:
      the plot options
    • gridColor

      public Plot.PlotOptions gridColor(Color color)
      Grid color.
      Parameters:
      color - the color
      Returns:
      the plot options
    • gridStroke

      public Plot.PlotOptions gridStroke(Stroke stroke)
      Grid stroke.
      Parameters:
      stroke - the stroke
      Returns:
      the plot options
    • tickSize

      public Plot.PlotOptions tickSize(int value)
      Tick size.
      Parameters:
      value - the value
      Returns:
      the plot options
    • legend

      public Plot.PlotOptions legend(Plot.LegendFormat legend)
      Legend.
      Parameters:
      legend - the legend
      Returns:
      the plot options