Properties
Determines whether or not markers and text nodes are clipped about the subplot axes. To show markers and text nodes above axis lines and tick labels, make sure to set xaxis.layer
and yaxis.layer
to "below traces".
Sets the colorscale. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, or named color string.
Determines whether or not gaps (i.e. {nan} or missing values) in the z
data are filled in. It is defaulted to true if z
is a one dimensional array and zsmooth
is not false; otherwise it is defaulted to false.
Sets the area to fill with a solid color. Defaults to "none" unless this trace is stacked, then it gets "tonexty" ("tonextx") if orientation
is "v" ("h") Use with fillcolor
if not "none". "tozerox" and "tozeroy" fill to x=0 and y=0 respectively. "tonextx" and "tonexty" fill between the endpoints of this trace and the endpoints of the trace before it, connecting those endpoints with straight lines (to make a stacked area graph); if there is no trace before it, they behave like "tozerox" and "tozeroy". "toself" connects the endpoints of the trace (or each segment of the trace if it has gaps) into a closed shape. "tonext" fills the space between two traces if one completely encloses the other (eg consecutive contour lines), and behaves like "toself" if there is no trace before it. "tonext" should not be used if one trace does not enclose the other. Traces in a stackgroup
will only fill to (or be filled to) other traces in the same group. With multiple stackgroup
s or some traces stacked and some not, if fill-linked traces are not already consecutive, the later ones will be pushed down in the drawing order.
Only relevant when stackgroup
is used, and only the first groupnorm
found in the stackgroup
will be used - including if visible
is "legendonly" but not if it is false
. Sets the normalization for the sum of this stackgroup
. With "fraction", the value of each trace at each location is divided by the sum of all trace values at that location. "percent" is the same but multiplied by 100 to show percentages. If there are multiple subplots, or multiple stackgroup
s on one subplot, each will be normalized within its own set.
Flaglist string. Any combination of "x", "y", "z", "text", "name" joined with a "+" OR "all" or "none" or "skip". Examples: "x", "y", "x+y", "x+y+z", "all", default: "all". Determines which trace information appear on hover. If none
or skip
are set, no information is displayed upon hovering. But, if none
is set, click and hover events are still fired.
Do the hover effects highlight individual points (markers or line points) or do they highlight filled regions? If the fill is "toself" or "tonext" and there are no markers or text, then the default is "fills", otherwise it is "points".
Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace hoverinfo
must contain a "text" flag.
Sets the legend group for this trace. Traces part of the same legend group hide/show at the same time when toggling legend items. Default: ""
Flaglist string. Any combination of "lines", "markers", "text" joined with a "+" OR "none". Determines the drawing mode for this scatter trace. If the provided mode
includes "text" then the text
elements appear at the coordinates. Otherwise, the text
elements appear on hover. Default: lines.
Sets the orientation of the plot(s). If "vertical" ("horizontal"), the data is visualized along the vertical (horizontal).
Reverses the color mapping if true. If true, zmin
will correspond to the last color in the array and zmax
will correspond to the first color.
If there are multiple violins that should be sized according to some metric (see scalemode
), link them by providing a non-empty group id here shared by every trace in the same group. If a violin's width
is undefined, scalegroup
will default to the trace's name. In this case, violins with the same names will be linked together. Default: ""
Array containing integer indices of selected points. Has an effect only for traces that support selections. Note that an empty array means an empty selection where the unselected
are turned on for all points, whereas, any other non-array values means no selection all where the selected
and unselected
styles have no effect.
Determines whether or not an item corresponding to this trace is shown in the legend. Default: true
Only relevant when stackgroup
is used, and only the first stackgaps
found in the stackgroup
will be used - including if visible
is "legendonly" but not if it is false
. Determines how we handle locations at which other traces in this group have data but this one does not. With "infer zero" we insert a zero at these locations. With "interpolate" we linearly interpolate between existing values, and extrapolate a constant beyond the existing values.
Set several scatter traces (on the same subplot) to the same stackgroup in order to add their y values (or their x values if orientation
is "h"). If blank or omitted this trace will not be stacked. Stacking also turns fill
on by default, using "tonexty" ("tonextx") if orientation
is "h" ("v") and sets the default mode
to "lines" irrespective of point count. You can only stack on a numeric (linear or log) axis. Traces in a stackgroup
will only fill to (or be filled to) other traces in the same group. With multiple stackgroup
s or some traces stacked and some not, if fill-linked traces are not already consecutive, the later ones will be pushed down in the drawing order. Default: "".
Sets text elements associated with each (x,y) pair. The same string appears over all the data points. If trace hoverinfo
contains a "text" flag and "hovertext" is not set, these elements will be seen in the hover labels.
Sets the position of the text
elements with respects to the (x,y) coordinates. Default: "middle center".
Sets the positions of the text
elements with respects to the (x,y) coordinates. Default: "middle center".
Sets the x coordinates.
Sets the y coordinates.
Z coordinates
Functions
Fill trace x and y with values based on given xs and a function for y values. Old values are erased.
Fill trace x and y with values based on a given integer xRange and a numeric function. Old values are erased.
A safe Number ray
A safe Number range
Convert any type-safe configurator to json string