---
title: "value(atAngle:as:)"
framework: charts
role: symbol
role_heading: Instance Method
path: "charts/chartproxy/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.

## Declaration

```swift
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

Return Value The data value at the given position.
