PointStyle
public struct PointStyle : Hashable
Model for controlling the aesthetic of the point markers.
Point markers are placed on top of the line, marking where the data points are.
-
Overall size of the mark
Declaration
Swift
public var pointSize: CGFloat -
Outter ring colour
Declaration
Swift
public var borderColour: Color -
Center fill colour
Declaration
Swift
public var fillColour: Color -
Outter ring line width
Declaration
Swift
public var lineWidth: CGFloat -
Style of the point marks
Declaration
Swift
public var pointType: PointType -
Shape of the points
Declaration
Swift
public var pointShape: PointShape -
Styling for the point markers.
Declaration
Swift
public init( pointSize: CGFloat = 9, borderColour: Color = .primary, fillColour: Color = Color(.gray), lineWidth: CGFloat = 3, pointType: PointType = .outline, pointShape: PointShape = .circle )Parameters
pointSizeOverall size of the mark
borderColourOutter ring colour
fillColourCenter fill colour
lineWidthOutter ring line width
pointTypeStyle of the point marks
pointShapeShape of the points