init(preset:position:values:content:)
Creates axis markers with the given properties,will override default markers.
Declaration
nonisolated init(preset: AxisMarkPreset = .automatic, position: AxisMarkPosition = .automatic, values: AxisMarkValues = .automatic, @AxisMarkBuilder content: @escaping () -> Content)Parameters
- preset:
The preset of the axis markers.
- position:
The position of the axis markers.
- values:
The values of the axis markers.
- content:
A result builder that returns the content of the axis marker.