Trace
public class ContourTrace extends AbstractTrace
Modifier and Type | Class | Description |
---|---|---|
static class |
ContourTrace.ContourBuilder |
AbstractTrace.Visibility
DEFAULT_OPACITY, DEFAULT_VISIBILITY, engine
Constructor | Description |
---|---|
ContourTrace(ContourTrace.ContourBuilder builder) |
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 ContourTrace.ContourBuilder |
builder(Object[] x,
Object[] y,
double[][] z) |
|
protected Map<String,Object> |
getContext() |
hoverLabel, name, showLegend, toString
public ContourTrace(ContourTrace.ContourBuilder builder)
public String asJavascript(int i)
Trace
i
- A unique number for this trace in the enclosing figureprotected Map<String,Object> getContext()
getContext
in class AbstractTrace
public static ContourTrace.ContourBuilder builder(Object[] x, Object[] y, double[][] z)
Copyright © 2022. All rights reserved.