One Logo Pool Ball
Charts · IOS API REFERENCE

PointPlot

struct · iOS 18.0+ · SDK 27.1

struct PointPlot<Content>

Chart content that represents a collection of data using points. Use `PointPlot` when you want to visualize data in the same way as with ``PointMark``, but you want to visualize an entire data collection with a single plot. You can initialize and style the plot with simple values or key paths. Add modifiers with `KeyPath` before adding modifiers with simple values. ``` Chart { PointPlot( flightDelays, x: .value("Flight Distance", \.distance), y: .value("Flight Delay", \.delay) ) .foregroundStyle(by: .value("Airline", \.airline)) .opacity(\.opacity) .symbolSize(by: .value("Capacity", \.passengerCount)) .symbol(.circle) } ```

Members (0)

This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.

Skipped declarations

6 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

PointPlot.body

This protocol needs associated types that cannot yet cross the bridge.

PointPlot.init(_:x:y:)

This declaration needs Swift generic type arguments. (no canonical witness for Data)

PointPlot.init(_:x:y:)

This declaration needs Swift generic type arguments. (no canonical witness for Data)

PointPlot.init(_:x:y:)

This declaration needs Swift generic type arguments. (no canonical witness for Data)

PointPlot.init(_:x:y:)

This declaration needs Swift generic type arguments. (no canonical witness for Data)

PointPlot.init(_:x:y:)

This declaration needs Swift generic type arguments. (no canonical witness for Data)

All Charts types →