Package tech.tablesaw.plotly.components
Class Axis.Spikes.SpikesBuilder
- java.lang.Object
-
- tech.tablesaw.plotly.components.Axis.Spikes.SpikesBuilder
-
- Enclosing class:
- Axis.Spikes
public static class Axis.Spikes.SpikesBuilder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Axis.Spikes
build()
Axis.Spikes.SpikesBuilder
color(String color)
Axis.Spikes.SpikesBuilder
dash(String dash)
Sets the dash style of lines.Axis.Spikes.SpikesBuilder
mode(Axis.Spikes.SpikeMode mode)
Any combination of "toaxis", "across", "marker" examples: "toaxis", "across", "toaxis+across", "toaxis+across+marker" default: "toaxis"Axis.Spikes.SpikesBuilder
snap(Axis.Spikes.SpikeSnap snap)
Determines whether spikelines are stuck to the cursor or to the closest datapoints.Axis.Spikes.SpikesBuilder
thickness(int thickness)
Sets the width (in px) of the zero line.
-
-
-
Method Detail
-
color
public Axis.Spikes.SpikesBuilder color(String color)
-
dash
public Axis.Spikes.SpikesBuilder dash(String dash)
Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px").
-
mode
public Axis.Spikes.SpikesBuilder mode(Axis.Spikes.SpikeMode mode)
Any combination of "toaxis", "across", "marker" examples: "toaxis", "across", "toaxis+across", "toaxis+across+marker" default: "toaxis"
-
snap
public Axis.Spikes.SpikesBuilder snap(Axis.Spikes.SpikeSnap snap)
Determines whether spikelines are stuck to the cursor or to the closest datapoints. default: DATA
-
thickness
public Axis.Spikes.SpikesBuilder thickness(int thickness)
Sets the width (in px) of the zero line. default: 3
-
build
public Axis.Spikes build()
-
-