Skip to content

scaleType

Category: Instance Property

Platforms: iOS 15.0+, iPadOS 15.0+, Mac Catalyst 15.0+, macOS 12.0+, tvOS 15.0+, visionOS 1.0+, watchOS 8.0+

Overview

The scale for the axis.

Declaration

var scaleType: AXNumericDataAxisDescriptor.ScaleType { get set }

Details

See Also

  • Configuring the axis scale
  • enum ScaleType

  • Accessibility

  • AXNumericDataAxisDescriptor
  • scaleType

scale Type

Discussion

Match the value of this property to the visual representation in the chart.

The default value is AXNumericDataAxisDescriptor.ScaleType.linear .

Topics (Grouped)

Configuring the axis scale

  • ScaleType — enum; Constants that describe the scale of a numeric axis.

Code Examples

var scaleType: AXNumericDataAxisDescriptor.ScaleType { get set }

Source: https://developer.apple.com/documentation/accessibility/axnumericdataaxisdescriptor/scaletype-swift.property