---
title: "as(_:)"
framework: charts
role: symbol
role_heading: Instance Method
path: "charts/axisvalue/as(_:)"
---

# as(_:)

## Declaration

```swift
func `as`<P>(_ type: P.Type) -> P? where P : Plottable
```
