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

# markerSize

The size of the line, bar, or scatter plot elements in the graph.

## Declaration

```swift
var markerSize: CGFloat
```

## Overview

Overview The size relates to each type of plot: For line plots, it’s the width of the line. For scatter plots, it’s the radius of the markers. For bar plots, it’s the width of the bar.

## See Also

### Configuring Charts

- [taskID](carekit/ockdataseriesconfiguration/taskid.md)
- [legendTitle](carekit/ockdataseriesconfiguration/legendtitle.md)
- [aggregator](carekit/ockdataseriesconfiguration/aggregator.md)
