---
title: "selectXRange(from:to:)"
framework: charts
role: symbol
role_heading: Instance Method
path: "charts/chartproxy/selectxrange(from:to:)"
---

# selectXRange(from:to:)

## Declaration

```swift
func selectXRange(from: CGFloat, to: CGFloat)
```
