AXChartDescriptor.ContentDirection
Category: Enumeration
Platforms: iOS 15.0+, iPadOS 15.0+, Mac Catalyst 15.0+, macOS 12.0+, tvOS 15.0+, visionOS 1.0+, watchOS 8.0+
Overview
A constant that describes the content direction of the chart.
Declaration
enum ContentDirection
Details
Topics
- Content directions
- case leftToRight
- case rightToLeft
- case bottomToTop
- case topToBottom
- case radialClockwise
- case radialCounterClockwise
- init?(rawValue: Int)
Relationships
- BitwiseCopyable
- Equatable
- Hashable
- RawRepresentable
- Sendable
- SendableMetatype
See Also
- Specifying the content layout
- var contentFrame: CGRect
-
var contentDirection: AXChartDescriptor.ContentDirection
-
Accessibility
- AXChartDescriptor
- AXChartDescriptor.ContentDirection
AXChart Descriptor .Content Direction
Overview
Use content direction to specify the direction of the x-axis, which the audio graph represents as time. For example, a bar chart might have a content direction of AXChartDescriptor.ContentDirection.leftToRight , and a pie chart might have a content direction of AXChartDescriptor.ContentDirection.radialClockwise .
Topics (Grouped)
Content directions
- leftToRight — case; A content direction with an x-axis that increases from left to right.
- rightToLeft — case; A content direction with an x-axis that increases from right to left.
- bottomToTop — case; A content direction with an x-axis that increases from bottom to top.
- topToBottom — case; A content direction with an x-axis that increases from top to bottom.
- radialClockwise — case; A content direction with a radial x-axis that increases clockwise.
- radialCounterClockwise — case; A content direction with a radial x-axis that increases counterclockwise.
Initializers
- initrawValue:Int) — ?(
Conforms To
Specifying the content layout
- contentFrame:CGRect — var; The bounds of the view, in screen coordinates, for visually rendering data values.
- contentDirection:AXChartDescriptor.ContentDirection — var; The direction of the content in the chart.
Code Examples
enum ContentDirection