---
title: OCKChartViewControllerDelegate
framework: CareKit
role: symbol
role_heading: Protocol
platforms: [iOS 13.0+, Mac Catalyst 13.0+, watchOS 7.0+]
path: carekit/ockchartviewcontrollerdelegate
---

# OCKChartViewControllerDelegate

A protocol for that handles errors inside a chart view controller.

## Declaration

```swift
protocol OCKChartViewControllerDelegate : AnyObject
```

## Topics

### Handling Errors

- [chartViewController(_:didEncounterError:)](carekit/ockchartviewcontrollerdelegate/chartviewcontroller(_:didencountererror:).md)

## See Also

### Chart View Changes

- [OCKChartControllerProtocol](carekit/ockchartcontrollerprotocol.md)
- [OCKChartViewDelegate](carekitui/ockchartviewdelegate.md)
