Package tech.tablesaw.plotly.traces
Class HistogramTrace
java.lang.Object
tech.tablesaw.plotly.traces.AbstractTrace
tech.tablesaw.plotly.traces.HistogramTrace
- All Implemented Interfaces:
Trace
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enumstatic classNested 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 browserbuilder(double[] values) builder(tech.tablesaw.columns.Column<?> xValues, tech.tablesaw.api.NumericColumn<? extends Number> values) Methods inherited from class tech.tablesaw.plotly.traces.AbstractTrace
getContext, hoverLabel, name, showLegend, toString
-
Method Details
-
builder
-
builder
public static HistogramTrace.HistogramBuilder builder(tech.tablesaw.api.NumericColumn<? extends Number> values) -
builder
public static HistogramTrace.HistogramBuilder builder(tech.tablesaw.columns.Column<?> xValues, tech.tablesaw.api.NumericColumn<? extends Number> values) -
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
-