Constructor and Description |
---|
MarkerBuilder() |
Modifier and Type | Method and Description |
---|---|
Marker.MarkerBuilder |
autoColorScale(boolean b)
Has an effect only if `marker.color` is set to a numerical array.
|
Marker |
build() |
Marker.MarkerBuilder |
cAuto(boolean b)
Has an effect only if `marker.color` is set to a numerical array and `cmin`, `cmax` are also
set.
|
Marker.MarkerBuilder |
cMinAndMax(double min,
double max)
Has an effect only if `marker.color` is set to a numerical array.
|
Marker.MarkerBuilder |
color(double[] color)
Sets the marker color to an array of numeric values for use when a color scale is provided
|
Marker.MarkerBuilder |
color(String color)
Sets the marker color to a single value
|
Marker.MarkerBuilder |
color(String[] color)
Sets the marker color to an array of color values
|
Marker.MarkerBuilder |
colorBar(ColorBar colorBar)
Sets the ColorBar to display the scale for the marker
|
Marker.MarkerBuilder |
colorScale(Marker.Palette palette)
Sets the colorscale and only has an effect if `marker.color` is set to a numerical array.
|
Marker.MarkerBuilder |
gradient(Gradient gradient)
Sets a gradient for the marker
|
Marker.MarkerBuilder |
line(Line line)
Sets an outline around the marker
|
Marker.MarkerBuilder |
opacity(double opacity)
Sets the opacity.
|
Marker.MarkerBuilder |
reverseScale(boolean b)
Has an effect only if `marker.color` is set to a numerical array.
|
Marker.MarkerBuilder |
showScale(boolean b)
Has an effect only if `marker.color` is set to a numerical array.
|
Marker.MarkerBuilder |
size(double... size) |
Marker.MarkerBuilder |
size(tech.tablesaw.api.NumericColumn<?> size) |
Marker.MarkerBuilder |
sizeMode(Marker.SizeMode sizeMode)
Sets the size mode for the marker
|
Marker.MarkerBuilder |
symbol(Symbol symbol)
Sets the symbol for the marker
|
public Marker.MarkerBuilder size(double... size)
public Marker.MarkerBuilder size(tech.tablesaw.api.NumericColumn<?> size)
public Marker.MarkerBuilder cAuto(boolean b)
Defaults to `False` when `cmin`, `cmax` are set by the user.
public Marker.MarkerBuilder reverseScale(boolean b)
public Marker.MarkerBuilder line(Line line)
public Marker.MarkerBuilder gradient(Gradient gradient)
public Marker.MarkerBuilder colorBar(ColorBar colorBar)
public Marker.MarkerBuilder autoColorScale(boolean b)
Defaults to true
public Marker.MarkerBuilder cMinAndMax(double min, double max)
public Marker.MarkerBuilder showScale(boolean b)
public Marker.MarkerBuilder colorScale(Marker.Palette palette)
At minimum, a mapping for the lowest (0) and highest (1) values are required. For example, `[[0, 'rgb(0,0,255)', [1, 'rgb(255,0,0)']]`.
To control the bounds of the colorscale in color space, use `marker.cmin` and `marker.cmax`.
public Marker.MarkerBuilder opacity(double opacity)
public Marker.MarkerBuilder color(String color)
public Marker.MarkerBuilder color(String[] color)
public Marker.MarkerBuilder color(double[] color)
public Marker.MarkerBuilder symbol(Symbol symbol)
public Marker.MarkerBuilder sizeMode(Marker.SizeMode sizeMode)
Has an effect only if `marker.size` is set to a numerical array. Sets the rule for which the data in `size` is converted to pixels, either as area or the diameter
public Marker build()
Copyright © 2020. All rights reserved.