<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Charts",
  "identifier" : "/documentation/Charts/ChartScrollTargetBehaviorContext",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Swift Charts"
    ],
    "preciseIdentifier" : "s:6Charts32ChartScrollTargetBehaviorContextV"
  },
  "title" : "ChartScrollTargetBehaviorContext"
}
-->

# ChartScrollTargetBehaviorContext

Contextual information that you can use to determine how to best adjust how charts scroll.

```
@dynamicMemberLookup struct ChartScrollTargetBehaviorContext
```

## Topics

### Instance Properties

[`var chartProxy: ChartProxy`](/documentation/Charts/ChartScrollTargetBehaviorContext/chartProxy)

The chart proxy that you use to access the scales and plot area of the chart.

### Subscripts

[`subscript<T>(dynamicMember _: KeyPath<ScrollTargetBehaviorContext, T>) -> T`](/documentation/Charts/ChartScrollTargetBehaviorContext/subscript(dynamicMember:))

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)