YSizeMode
public enum YSizeMode : String, Encodable
Sets the shapes’s sizing mode along the y axis.
If set to scaled, y0
, y1
and y coordinates within path
refer to data values on the y
axis or a fraction of the plot area’s height (yref
set to paper). If set to pixel,
yanchor
specifies the y position in terms of data or plot fraction but y0
, y1
and y
coordinates within path
are pixels relative to yanchor
. This way, the shape can have a fixed
height while maintaining a position relative to data or plot fraction.