Package tech.tablesaw.plotly.traces
Class PieTrace
java.lang.Object
tech.tablesaw.plotly.traces.AbstractTrace
tech.tablesaw.plotly.traces.PieTrace
- 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 PieTrace.PieBuilderstatic PieTrace.PieBuilderbuilder(Column<?> labels, NumericColumn<? extends Number> values) Methods inherited from class tech.tablesaw.plotly.traces.AbstractTrace
getContext, hoverLabel, name, showLegend, toString
-
Method Details
-
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
-
builder
-
builder
-