public class PieTrace extends AbstractTrace
| Modifier and Type | Class and Description |
|---|---|
static class |
PieTrace.PieBuilder |
AbstractTrace.VisibilityDEFAULT_OPACITY, DEFAULT_SHOW_LEGEND, DEFAULT_VISIBILITY, engine, type| Modifier and Type | Method and 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(CategoricalColumn<?> labels,
NumericColumn<? extends Number> values) |
static PieTrace.PieBuilder |
builder(Object[] labels,
double[] 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(CategoricalColumn<?> labels, NumericColumn<? extends Number> values)
Copyright © 2019. All rights reserved.