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

# legendTitle

The title the chart uses to represent the data series in the legend.

## Declaration

```swift
var legendTitle: String
```

## See Also

### Configuring Charts

- [taskID](carekit/ockdataseriesconfiguration/taskid.md)
- [markerSize](carekit/ockdataseriesconfiguration/markersize.md)
- [aggregator](carekit/ockdataseriesconfiguration/aggregator.md)
