---
title: "compositingLayer(style:)"
framework: charts
role: symbol
role_heading: Instance Method
path: "charts/chartcontent/compositinglayer(style:)"
---

# compositingLayer(style:)

## Declaration

```swift
nonisolated func compositingLayer<V>(style: (PlaceholderContentView<Self>) -> V) -> some ChartContent where V : View

```

## See Also

### Layering chart content

- [compositingLayer()](charts/chartcontent/compositinglayer().md)
- [zIndex(_:)](charts/chartcontent/zindex(_:).md)
