Package tech.tablesaw.plotly.traces
Interface Trace
-
- All Known Implementing Classes:
AbstractTrace,BarTrace,BoxTrace,ContourTrace,HeatmapTrace,Histogram2DTrace,HistogramTrace,PieTrace,Scatter3DTrace,ScatterTrace,ViolinTrace
public interface Trace
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringasJavascript(int i)Returns a string of Javascript code that can be used to display the trace in a browserHoverLabelhoverLabel()Stringname()booleanshowLegend()
-
-
-
Method Detail
-
asJavascript
String asJavascript(int i)
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
-
name
String name()
-
hoverLabel
HoverLabel hoverLabel()
-
showLegend
boolean showLegend()
-
-