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

# selectYRange(from:to:)

## Declaration

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