init(format: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<Format>(format: Format, preset: AxisMarkPreset = .automatic, position: AxisMarkPosition = .automatic, values: AxisMarkValues = .automatic, stroke: StrokeStyle? = nil) where Content == Never, Format : FormatStyle, Format.FormatInput : Plottable, Format.FormatOutput == StringParameters
- format:
The format to use for the labels.
- 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.