---
title: "init(_:x:y:)"
framework: charts
role: symbol
role_heading: Initializer
path: "charts/pointplot/init(_:x:y:)-9p3yg"
---

# init(_:x:y:)

## Declaration

```swift
nonisolated init<Data>(_ data: Data, x: PlottableProjection<PointPlot<Content>.DataElement, some Plottable>, y: KeyPath<PointPlot<Content>.DataElement, CGFloat>) where Content == VectorizedPointPlotContent<Data>, Data : RandomAccessCollection
```

## See Also

### Plotting points from a collection

- [init(_:x:y:)](charts/pointplot/init(_:x:y:)-1a9af.md)
- [init(_:x:y:)](charts/pointplot/init(_:x:y:)-1p6px.md)
- [init(_:x:y:)](charts/pointplot/init(_:x:y:)-72pm2.md)
- [init(_:x:y:)](charts/pointplot/init(_:x:y:)-7frpp.md)
