<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 18.0.0 -",
    "visionOS: 2.0.0 -",
    "watchOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Charts",
  "identifier" : "/documentation/Charts/VectorizedChartContent/symbolSize(_:)-3nwop",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Swift Charts",
      "Charts"
    ],
    "preciseIdentifier" : "s:6Charts22VectorizedChartContentPAAE10symbolSizeyQrs7KeyPathCy11DataElementQz14CoreFoundation7CGFloatVGF"
  },
  "title" : "symbolSize(_:)"
}
-->

# symbolSize(_:)

Sets the plotting symbol size for the chart content according to a
perceived area.

```
nonisolated func symbolSize(_ area: KeyPath<Self.DataElement, CGFloat>) -> some VectorizedChartContent<Self.DataElement>
```

## Parameters

`area`

The perceived area in square points.
For example, a square with 10 points on each side has an area of 100 square points.

---

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)