Package tech.tablesaw.plotly.traces
Class ViolinTrace
java.lang.Object
tech.tablesaw.plotly.traces.AbstractTrace
tech.tablesaw.plotly.traces.ViolinTrace
- All Implemented Interfaces:
Trace
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class tech.tablesaw.plotly.traces.AbstractTrace
AbstractTrace.Visibility -
Field Summary
Fields inherited from class tech.tablesaw.plotly.traces.AbstractTrace
DEFAULT_OPACITY, DEFAULT_VISIBILITY, engine, type -
Method Summary
Modifier and TypeMethodDescriptionasJavascript(int i) Returns a string of Javascript code that can be used to display the trace in a browserstatic ViolinTrace.ViolinBuilderbuilder(double[] x, double[] y) static ViolinTrace.ViolinBuilderstatic ViolinTrace.ViolinBuilderbuilder(tech.tablesaw.api.CategoricalColumn<?> x, tech.tablesaw.api.NumericColumn<? extends Number> y) Methods inherited from class tech.tablesaw.plotly.traces.AbstractTrace
getContext, hoverLabel, name, showLegend, toString
-
Method Details
-
builder
-
builder
public static ViolinTrace.ViolinBuilder builder(tech.tablesaw.api.CategoricalColumn<?> x, tech.tablesaw.api.NumericColumn<? extends Number> y) -
builder
-
asJavascript
Description copied from interface:TraceReturns 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
-