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

# compositingLayer()

## Declaration

```swift
nonisolated func compositingLayer() -> some ChartContent

```

## See Also

### Layering chart content

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