---
title: delegate
framework: CareKit
role: symbol
role_heading: Instance Property
platforms: [iOS 13.0+, Mac Catalyst 13.0+, watchOS 7.0+]
path: carekit/ockchartviewcontroller/delegate
---

# delegate

The object that handles errors in the chart view controller.

## Declaration

```swift
weak var delegate: OCKChartViewControllerDelegate?
```
