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<Value>(preset: AxisMarkPreset = .automatic, position: AxisMarkPosition = .automatic, values: [Value], stroke: StrokeStyle? = nil) where Content == Never, Value : Plottable

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.