---
title: "init(primitivePlottable:)"
framework: charts
role: symbol
role_heading: Initializer
path: "charts/plottable/init(primitiveplottable:)"
---

# init(primitivePlottable:)

Creates the plottable value for the underlying type, if any, that corresponds to the primitive plottable value.

## Declaration

```swift
init?(primitivePlottable: Self.PrimitivePlottable)
```

## Discussion

Discussion This initializer fails if there is no corresponding plottable value.
