---
title: "init(_:xStart:xEnd:y:)"
framework: charts
role: symbol
role_heading: Initializer
path: "charts/ruleplot/init(_:xstart:xend:y:)-8ehr7"
---

# init(_:xStart:xEnd:y:)

## Declaration

```swift
nonisolated init<Data, X>(_ data: Data, xStart: PlottableProjection<RulePlot<Content>.DataElement, X>, xEnd: PlottableProjection<RulePlot<Content>.DataElement, X>, y: PlottableProjection<RulePlot<Content>.DataElement, some Plottable>) where Content == VectorizedRulePlotContent<Data>, Data : RandomAccessCollection, X : Plottable
```

## See Also

### Plotting rules from a collection

- [init(_:x:yStart:yEnd:)](charts/ruleplot/init(_:x:ystart:yend:)-13wts.md)
- [init(_:x:yStart:yEnd:)](charts/ruleplot/init(_:x:ystart:yend:)-3fig9.md)
- [init(_:x:yStart:yEnd:)](charts/ruleplot/init(_:x:ystart:yend:)-6ts7e.md)
- [init(_:x:yStart:yEnd:)](charts/ruleplot/init(_:x:ystart:yend:)-8b2lx.md)
- [init(_:x:yStart:yEnd:)](charts/ruleplot/init(_:x:ystart:yend:)-zxo0.md)
- [init(_:xStart:xEnd:y:)](charts/ruleplot/init(_:xstart:xend:y:)-3dsvn.md)
- [init(_:xStart:xEnd:y:)](charts/ruleplot/init(_:xstart:xend:y:)-4yxo8.md)
- [init(_:xStart:xEnd:y:)](charts/ruleplot/init(_:xstart:xend:y:)-54gxx.md)
- [init(_:xStart:xEnd:y:)](charts/ruleplot/init(_:xstart:xend:y:)-hx5a.md)
