Contents

init(preset:position:values:stroke:)

Creates axis markers with the given properties, will override default markers. Default content will be used for the axis markers.

Declaration

nonisolated init(preset: AxisMarkPreset = .automatic, position: AxisMarkPosition = .automatic, values: AxisMarkValues = .automatic, stroke: StrokeStyle? = nil) where Content == Never

Parameters

  • preset:

    The preset of the axis markers.

  • position:

    The position of the axis markers.

  • values:

    The values of the axis markers.

  • stroke:

    The stroke to use for grid lines and ticks.