Package tech.tablesaw.plotly.traces
Class BarTrace.BarBuilder
- java.lang.Object
-
- tech.tablesaw.plotly.traces.TraceBuilder
-
- tech.tablesaw.plotly.traces.BarTrace.BarBuilder
-
- Enclosing class:
- BarTrace
public static class BarTrace.BarBuilder extends TraceBuilder
-
-
Field Summary
-
Fields inherited from class tech.tablesaw.plotly.traces.TraceBuilder
hoverLabel, ids, legendGroup, name, opacity, showLegend, visible, xAxis, yAxis
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BarTracebuild()protected StringgetType()BarTrace.BarBuildermarker(Marker marker)BarTrace.BarBuildername(String name)BarTrace.BarBuilderopacity(double opacity)BarTrace.BarBuilderorientation(BarTrace.Orientation orientation)Sets the orientation of the bars.BarTrace.BarBuildershowLegend(boolean b)BarTrace.BarBuilderxAxis(String xAxis)BarTrace.BarBuilderyAxis(String yAxis)-
Methods inherited from class tech.tablesaw.plotly.traces.TraceBuilder
columnToStringArray, hoverLabel, legendGroup, visible
-
-
-
-
Method Detail
-
build
public BarTrace build()
-
orientation
public BarTrace.BarBuilder orientation(BarTrace.Orientation orientation)
Sets the orientation of the bars. With "v" ("h"), the value of the each bar spans along the vertical (horizontal).
-
opacity
public BarTrace.BarBuilder opacity(double opacity)
- Overrides:
opacityin classTraceBuilder
-
name
public BarTrace.BarBuilder name(String name)
- Overrides:
namein classTraceBuilder
-
showLegend
public BarTrace.BarBuilder showLegend(boolean b)
- Overrides:
showLegendin classTraceBuilder
-
marker
public BarTrace.BarBuilder marker(Marker marker)
-
xAxis
public BarTrace.BarBuilder xAxis(String xAxis)
- Overrides:
xAxisin classTraceBuilder
-
yAxis
public BarTrace.BarBuilder yAxis(String yAxis)
- Overrides:
yAxisin classTraceBuilder
-
getType
protected String getType()
- Specified by:
getTypein classTraceBuilder
-
-