public abstract class TraceBuilder extends Object
Modifier and Type | Field and Description |
---|---|
protected HoverLabel |
hoverLabel |
protected String[] |
ids
Assigns id labels to each datum.
|
protected String |
legendGroup
Sets the legend group for this trace.
|
protected String |
name
Sets the trace name.
|
protected double |
opacity
Sets the opacity of the trace.
|
protected boolean |
showLegend
Determines whether or not an item corresponding to this trace is shown in the legend.
|
protected AbstractTrace.Visibility |
visible |
Modifier and Type | Method and Description |
---|---|
protected static String[] |
columnToStringArray(tech.tablesaw.columns.Column<?> column) |
protected abstract String |
getType() |
protected TraceBuilder |
hoverLabel(HoverLabel hoverLabel) |
TraceBuilder |
legendGroup(String group) |
TraceBuilder |
name(String name) |
TraceBuilder |
opacity(double n) |
protected TraceBuilder |
showLegend(boolean showLegend) |
protected TraceBuilder |
visible(AbstractTrace.Visibility visibility) |
protected AbstractTrace.Visibility visible
protected boolean showLegend
protected String legendGroup
protected double opacity
protected String name
protected String[] ids
protected HoverLabel hoverLabel
protected abstract String getType()
public TraceBuilder name(String name)
public TraceBuilder opacity(double n)
public TraceBuilder legendGroup(String group)
protected TraceBuilder showLegend(boolean showLegend)
protected TraceBuilder visible(AbstractTrace.Visibility visibility)
protected TraceBuilder hoverLabel(HoverLabel hoverLabel)
protected static String[] columnToStringArray(tech.tablesaw.columns.Column<?> column)
Copyright © 2019. All rights reserved.