<!--
{
  "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/ChartContentBuilder/buildBlock(_:)-797vj",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Swift Charts"
    ],
    "preciseIdentifier" : "s:6Charts19ChartContentBuilderV10buildBlockyxxAA0bC0RzlFZ"
  },
  "title" : "buildBlock(_:)"
}
-->

# buildBlock(_:)

Builds a result from a single component.

```
static func buildBlock<C>(_ content: C) -> C where C : ChartContent
```

## Parameters

`content`

The component.

---

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)