<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Charts",
  "identifier" : "/documentation/Charts/SectorMark/init(angle:innerRadius:outerRadius:angularInset:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Swift Charts"
    ],
    "preciseIdentifier" : "s:6Charts10SectorMarkV5angle11innerRadius05outerF012angularInsetAcA14PlottableValueVyxG_AA0C9DimensionVAL14CoreFoundation7CGFloatVSgtcAA0J0Rzlufc"
  },
  "title" : "init(angle:innerRadius:outerRadius:angularInset:)"
}
-->

# init(angle:innerRadius:outerRadius:angularInset:)

Creates a sector mark, which uses the angular size to represent the proportion of the value to the sum of all values.

```
nonisolated init(angle: PlottableValue<some Plottable>, innerRadius: MarkDimension = .automatic, outerRadius: MarkDimension = .automatic, angularInset: CGFloat? = nil)
```

## Parameters

`angle`

A plottable value that will map to the angular size of the sector. It’s either a value that the angle within the full circle will be proportional with, or a value range for explicit start/end angles.

`innerRadius`

The inner radius of the sector. It is either a size in points, or a `.ratio` or `.inset` relative to the outer radius.

`outerRadius`

The outer radius of the sector. It is either a size in points, or a `.ratio`or `.inset` relative to the available plot area.

`angularInset`

A radius for the corners of the sector.

## Discussion

Use this initializer to map angular positions to a sector for each data element.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)