public class HeatmapTrace extends AbstractTrace
Modifier and Type | Class and Description |
---|---|
static class |
HeatmapTrace.HeatmapBuilder |
AbstractTrace.Visibility
DEFAULT_OPACITY, DEFAULT_VISIBILITY, engine
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 HeatmapTrace.HeatmapBuilder |
builder(Object[] x,
Object[] y,
double[][] z) |
protected Map<String,Object> |
getContext() |
hoverLabel, name, showLegend, toString
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 HeatmapTrace.HeatmapBuilder builder(Object[] x, Object[] y, double[][] z)
Copyright © 2019. All rights reserved.