<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Charts",
  "identifier" : "/documentation/Charts/ChartProxy/value(atAngle:as:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Swift Charts",
      "Charts"
    ],
    "preciseIdentifier" : "s:6Charts10ChartProxyV5value7atAngle2asxSg7SwiftUI0F0V_xmtAA9PlottableRzlF"
  },
  "title" : "value(atAngle:as:)"
}
-->

# value(atAngle:as:)

Returns the data value at the given angle, or `nil` if the angle does not correspond to a valid data value.

```
func value<P>(atAngle angle: Angle, as: P.Type = P.self) -> P? where P : Plottable
```

## Parameters

`angle`

The angle, relative to the plot center, where the 12 o’clock position is interpreted as zero
degrees, increasing clockwise.

## Return Value

The data value at the given position.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)