---
title: "inset(_:)"
framework: charts
role: symbol
role_heading: Type Method
path: "charts/markdimensions/inset(_:)-309e3"
---

# inset(_:)

A dimension that’s the step size minus the specified inset value on each side.

## Declaration

```swift
static func inset(_ keyPath: KeyPath<DataElement, CGFloat>) -> MarkDimensions<DataElement>
```
