MeanLine
public struct MeanLine : Encodable
Undocumented
-
Determines if a line corresponding to the sample’s mean is shown inside the violins.
If
box.visible
is turned on, the mean line is drawn inside the inner box. Otherwise, the mean line is drawn from one side of the violin to other.Declaration
Swift
public var visible: Bool?
-
Sets the mean line color.
Declaration
Swift
public var color: Color?
-
Sets the mean line width.
Declaration
Swift
public var width: Double?
-
Creates
MeanLine
object with specified properties.Declaration
Swift
public init(visible: Bool? = nil, color: Color? = nil, width: Double? = nil)
Parameters
visible
Determines if a line corresponding to the sample’s mean is shown inside the violins.
color
Sets the mean line color.
width
Sets the mean line width.