Tracepublic class PieTrace extends AbstractTrace
| Modifier and Type | Class | Description |
|---|---|---|
static class |
PieTrace.PieBuilder |
AbstractTrace.VisibilityDEFAULT_OPACITY, DEFAULT_VISIBILITY, engine, type| Modifier and Type | Method | Description |
|---|---|---|
String |
asJavascript(int i) |
Returns a string of Javascript code that can be used to display the trace in a browser
|
static PieTrace.PieBuilder |
builder(Object[] labels,
double[] values) |
|
static PieTrace.PieBuilder |
builder(tech.tablesaw.columns.Column<?> labels,
tech.tablesaw.api.NumericColumn<? extends Number> values) |
getContext, hoverLabel, name, showLegend, toStringpublic String asJavascript(int i)
Tracei - A unique number for this trace in the enclosing figurepublic static PieTrace.PieBuilder builder(Object[] labels, double[] values)
public static PieTrace.PieBuilder builder(tech.tablesaw.columns.Column<?> labels, tech.tablesaw.api.NumericColumn<? extends Number> values)
Copyright © 2022. All rights reserved.