Class Line.LineBuilder

java.lang.Object
tech.tablesaw.plotly.components.Line.LineBuilder
Enclosing class:
Line

public static class Line.LineBuilder extends Object
  • Constructor Details

    • LineBuilder

      public LineBuilder()
  • Method Details

    • color

      public Line.LineBuilder color(String color)
      Sets the line color
    • width

      public Line.LineBuilder width(double width)
    • smoothing

      public Line.LineBuilder smoothing(double smoothing)
      Sets the smoothing parameter
      Parameters:
      smoothing - a value between 0 and 1.3, inclusive
    • dash

      public Line.LineBuilder dash(Line.Dash dash)
    • simplify

      public Line.LineBuilder simplify(boolean b)
      Simplifies lines by removing nearly-collinear points. When transitioning lines, it may be desirable to disable this so that the number of points along the resulting SVG path is unaffected.
      Parameters:
      b - true if you want to simplify. True is the default
    • shape

      public Line.LineBuilder shape(Line.Shape shape)
    • build

      public Line build()