RectanglePlot
struct · iOS 18.0+ · SDK 27.1
struct RectanglePlot<Content>Chart content that represents a collection of data using rectangles. Use `RectanglePlot` when you want to visualize data in the same way as with ``RectangleMark``, 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 { RectanglePlot( tasks, x: .value("Time", \.startTime, \.endTime), y: .value("Project", \.project) ) .foregroundStyle(by: .value("Status", \.status)) .cornerRadius(4) } ```
Members (0)
This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.
Skipped declarations
14 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
RectanglePlot.body
This protocol needs associated types that cannot yet cross the bridge.
RectanglePlot.init(_:x:y:width:height:)
This declaration needs Swift generic type arguments. (no canonical witness for Data)
RectanglePlot.init(_:xStart:xEnd:y:height:)
This declaration needs Swift generic type arguments. (no canonical witness for Data)
RectanglePlot.init(_:x:yStart:yEnd:width:)
This declaration needs Swift generic type arguments. (no canonical witness for Data)
RectanglePlot.init(_:xStart:xEnd:yStart:yEnd:)
This declaration needs Swift generic type arguments. (no canonical witness for Data)
RectanglePlot.init(_:x:yStart:yEnd:width:)
This declaration needs Swift generic type arguments. (no canonical witness for Data)
RectanglePlot.init(_:xStart:xEnd:y:height:)
This declaration needs Swift generic type arguments. (no canonical witness for Data)
RectanglePlot.init(_:xStart:xEnd:yStart:yEnd:)
This declaration needs Swift generic type arguments. (no canonical witness for Data)
RectanglePlot.init(_:xStart:xEnd:yStart:yEnd:)
This declaration needs Swift generic type arguments. (no canonical witness for Data)
RectanglePlot.init(_:x:yStart:yEnd:width:)
This declaration needs Swift generic type arguments. (no canonical witness for Data)
RectanglePlot.init(_:xStart:xEnd:y:height:)
This declaration needs Swift generic type arguments. (no canonical witness for Data)
RectanglePlot.init(_:xStart:xEnd:yStart:yEnd:)
This declaration needs Swift generic type arguments. (no canonical witness for Data)
RectanglePlot.init(_:xStart:xEnd:yStart:yEnd:)
This declaration needs Swift generic type arguments. (no canonical witness for Data)
RectanglePlot.init(_:xStart:xEnd:yStart:yEnd:)
This declaration needs Swift generic type arguments. (no canonical witness for Data)