---
title: "offset(_:)"
framework: charts
role: symbol
role_heading: Instance Method
path: "charts/chartcontent/offset(_:)"
---

# offset(_:)

Applies an offset that you specify as a size to the chart content.

## Declaration

```swift
nonisolated func offset(_ value: CGSize) -> some ChartContent

```

## Parameters

- `value`: The offset distance in screen coordinates.

## See Also

### Positioning marks

- [offset(x:y:)](charts/chartcontent/offset(x:y:).md)
- [offset(x:yStart:yEnd:)](charts/chartcontent/offset(x:ystart:yend:).md)
- [offset(xStart:xEnd:y:)](charts/chartcontent/offset(xstart:xend:y:).md)
- [offset(xStart:xEnd:yStart:yEnd:)](charts/chartcontent/offset(xstart:xend:ystart:yend:).md)
- [alignsMarkStylesWithPlotArea(_:)](charts/chartcontent/alignsmarkstyleswithplotarea(_:).md)
