BarTrace.BarBuilder
, BoxTrace.BoxBuilder
, ContourTrace.ContourBuilder
, HeatmapTrace.HeatmapBuilder
, Histogram2DTrace.Histogram2DBuilder
, HistogramTrace.HistogramBuilder
, PieTrace.PieBuilder
, Scatter3DTrace.Scatter3DBuilder
, ScatterTrace.ScatterBuilder
, ViolinTrace.ViolinBuilder
public abstract class TraceBuilder extends Object
Modifier and Type | Field | 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 |
|
protected String |
xAxis |
Sets a reference between this trace's x coordinates and a 2D cartesian x axis.
|
protected String |
yAxis |
Sets a reference between this trace's y coordinates and a 2D cartesian y axis.
|
Modifier and Type | Method | 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) |
|
TraceBuilder |
xAxis(String xAxis) |
|
TraceBuilder |
yAxis(String yAxis) |
protected AbstractTrace.Visibility visible
protected Boolean showLegend
protected String legendGroup
protected double opacity
protected String name
protected String[] ids
protected HoverLabel hoverLabel
protected String xAxis
protected String yAxis
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)
public TraceBuilder xAxis(String xAxis)
public TraceBuilder yAxis(String yAxis)
Copyright © 2022. All rights reserved.