public class PieTrace extends AbstractTrace
Modifier and Type | Class and Description |
---|---|
static class |
PieTrace.PieBuilder |
AbstractTrace.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 x,
NumberColumn y) |
static PieTrace.PieBuilder |
builder(Object[] x,
double[] y) |
getContext, hoverLabel, name, showLegend, toString
public String asJavascript(int i)
Trace
i
- A unique number for this trace in the enclosing figurepublic static PieTrace.PieBuilder builder(Object[] x, double[] y)
public static PieTrace.PieBuilder builder(CategoricalColumn x, NumberColumn y)
Copyright © 2018. All rights reserved.