Package tech.tablesaw.plotly.traces
Class ContourTrace
- java.lang.Object
-
- tech.tablesaw.plotly.traces.AbstractTrace
-
- tech.tablesaw.plotly.traces.ContourTrace
-
- All Implemented Interfaces:
Trace
public class ContourTrace extends AbstractTrace
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ContourTrace.ContourBuilder
-
Nested classes/interfaces inherited from class tech.tablesaw.plotly.traces.AbstractTrace
AbstractTrace.Visibility
-
-
Field Summary
-
Fields inherited from class tech.tablesaw.plotly.traces.AbstractTrace
DEFAULT_OPACITY, DEFAULT_VISIBILITY, engine
-
-
Constructor Summary
Constructors Constructor Description ContourTrace(ContourTrace.ContourBuilder builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods 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 browserstatic ContourTrace.ContourBuilder
builder(Object[] x, Object[] y, double[][] z)
protected Map<String,Object>
getContext()
-
Methods inherited from class tech.tablesaw.plotly.traces.AbstractTrace
hoverLabel, name, showLegend, toString
-
-
-
-
Constructor Detail
-
ContourTrace
public ContourTrace(ContourTrace.ContourBuilder builder)
-
-
Method Detail
-
asJavascript
public String asJavascript(int i)
Description copied from interface:Trace
Returns a string of Javascript code that can be used to display the trace in a browser- Parameters:
i
- A unique number for this trace in the enclosing figure- Returns:
- A string that can be rendered in javascript
-
getContext
protected Map<String,Object> getContext()
- Overrides:
getContext
in classAbstractTrace
-
builder
public static ContourTrace.ContourBuilder builder(Object[] x, Object[] y, double[][] z)
-
-