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

# inset(_:)

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

## Declaration

```swift
static func inset(_ value: CGFloat) -> MarkDimensions<DataElement>
```

## Parameters

- `value`: The given inset value in screen coordinates.
