geom Ribbon
Displays a y interval defined by ymin
and ymax
. Draws a ribbon bounded by ymin
and ymax
, or a vertical ribbon, bounded by xmin
, xmax
.
Examples
Parameters
The data to be displayed in this layer. If null, the default, the data is inherited from the plot data as specified in the call to letsPlot.
The statistical transformation to use on the data for this layer. Supported transformations: Stat.identity
, Stat.bin()
, Stat.count()
, etc. see Stat.
Position adjustment: positionIdentity
, positionStack()
, positionDodge()
, etc. see Position.
default = true. false - do not show legend for this layer.
Result of the call to the samplingXxx()
function. To prevent any sampling for this layer pass value samplingNone
. For more info see sampling.md.
Result of the call to the layerTooltips()
function. Specifies appearance, style and content.
X-axis coordinates for horizontal ribbon.
Y-axis coordinates of the lower bound for horizontal ribbon.
Y-axis coordinates of the upper bound for horizontal ribbon.
Y-axis coordinates for vertical ribbon.
X-axis coordinates of the lower bound for vertical ribbon.
X-axis coordinates of the upper bound for vertical ribbon.
Transparency level of a layer. Understands numbers between 0 and 1.
Color of the geometry. String in the following formats:
RGB/RGBA (e.g. "rgb(0, 0, 255)")
HEX (e.g. "#0000FF")
color name (e.g. "red")
role name ("pen", "paper" or "brush")
Or an instance of the java.awt.Color
class.
Lines width.
Type of the line of border. Codes and names: 0 = "blank", 1 = "solid", 2 = "dashed", 3 = "dotted", 4 = "dotdash", 5 = "longdash", 6 = "twodash".
Fill color. String in the following formats:
RGB/RGBA (e.g. "rgb(0, 0, 255)")
HEX (e.g. "#0000FF")
color name (e.g. "red")
role name ("pen", "paper" or "brush")
Or an instance of the java.awt.Color
class.
default = "color" ("fill", "color", "paint_a", "paint_b", "paint_c"). Defines the color aesthetic for the geometry.
default = "fill" ("fill", "color", "paint_a", "paint_b", "paint_c"). Defines the fill aesthetic for the geometry.
Set of aesthetic mappings. Aesthetic mappings describe the way that variables in the data are mapped to plot "aesthetics".