---
title: "xDomain(dataType:)"
framework: charts
role: symbol
role_heading: Instance Method
path: "charts/chartproxy/xdomain(datatype:)"
---

# xDomain(dataType:)

## Declaration

```swift
func xDomain<P>(dataType: P.Type) -> [P] where P : Plottable
```
