---
title: "chartGesture(_:)"
framework: swiftui
role: symbol
role_heading: Instance Method
path: "swiftui/view/chartgesture(_:)"
---

# chartGesture(_:)

## Declaration

```swift
nonisolated func chartGesture(_ gesture: @escaping (ChartProxy) -> some Gesture) -> some View

```
