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

# alignsMarkStylesWithPlotArea(_:)

Aligns this item’s styles with the chart’s plot area.

## Declaration

```swift
nonisolated func alignsMarkStylesWithPlotArea(_ aligns: Bool = true) -> some ChartContent

```

## Parameters

- `aligns`: A Boolean value that indicates whether to align this item’s styles with the plotting area.

## Discussion

Discussion Marks map unit-point coordinates within the plot area’s bounds.

## See Also

### Positioning marks

- [offset(_:)](charts/chartcontent/offset(_:).md)
- [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)
