Skip to content

valueDescriptionProvider

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

A description to speak for a particular data value on the axis.

Declaration

var valueDescriptionProvider: (Double) -> String { get set }

Details

Mentioned in

  • Representing chart data as an audio graph

  • Accessibility

  • AXNumericDataAxisDescriptor
  • valueDescriptionProvider

value Description Provider

Discussion

Use this property to format data values into string representations that include units, dates, times, and more.

Code Examples

var valueDescriptionProvider: (Double) -> String { get set }

Source: https://developer.apple.com/documentation/accessibility/axnumericdataaxisdescriptor/valuedescriptionprovider