Package tech.tablesaw.plotly.traces
Class AbstractTrace
- java.lang.Object
-
- tech.tablesaw.plotly.traces.AbstractTrace
-
- All Implemented Interfaces:
Trace
- Direct Known Subclasses:
BarTrace,BoxTrace,ContourTrace,HeatmapTrace,Histogram2DTrace,HistogramTrace,PieTrace,Scatter3DTrace,ScatterTrace,ViolinTrace
public abstract class AbstractTrace extends Object implements Trace
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAbstractTrace.Visibility
-
Field Summary
Fields Modifier and Type Field Description protected static doubleDEFAULT_OPACITYprotected static AbstractTrace.VisibilityDEFAULT_VISIBILITYprotected io.pebbletemplates.pebble.PebbleEngineengineprotected Stringtype
-
Constructor Summary
Constructors Constructor Description AbstractTrace(TraceBuilder builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<String,Object>getContext()HoverLabelhoverLabel()Stringname()booleanshowLegend()StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface tech.tablesaw.plotly.traces.Trace
asJavascript
-
-
-
-
Field Detail
-
DEFAULT_OPACITY
protected static final double DEFAULT_OPACITY
- See Also:
- Constant Field Values
-
DEFAULT_VISIBILITY
protected static final AbstractTrace.Visibility DEFAULT_VISIBILITY
-
engine
protected final io.pebbletemplates.pebble.PebbleEngine engine
-
type
protected final String type
-
-
Constructor Detail
-
AbstractTrace
public AbstractTrace(TraceBuilder builder)
-
-
Method Detail
-
hoverLabel
public HoverLabel hoverLabel()
- Specified by:
hoverLabelin interfaceTrace
-
showLegend
public boolean showLegend()
- Specified by:
showLegendin interfaceTrace
-
-