Class PieTrace

java.lang.Object
tech.tablesaw.plotly.traces.AbstractTrace
tech.tablesaw.plotly.traces.PieTrace
All Implemented Interfaces:
Trace

public class PieTrace extends AbstractTrace
  • Method Details

    • asJavascript

      public String asJavascript(int i)
      Description copied from interface: Trace
      Returns a string of Javascript code that can be used to display the trace in a browser
      Parameters:
      i - A unique number for this trace in the enclosing figure
      Returns:
      A string that can be rendered in javascript
    • builder

      public static PieTrace.PieBuilder builder(Object[] labels, double[] values)
    • builder

      public static PieTrace.PieBuilder builder(Column<?> labels, NumericColumn<? extends Number> values)