I have a vertical slider that moves left to right intersecting the orange and red curves. Is it possible to put a small circle at the intersection of the rule and the curves?
This is the type of code I'd use but RuleMark has no idea where the intersection point is. Is there a command in SwiftUI which can accommodate this?
RuleMark(x: .value("Date", datesArray[Int(daySlider)].sunrise))
.foregroundStyle(Color.black)
.lineStyle(StrokeStyle(lineWidth: 1))
.symbol() {
Circle()
.fill(.orange)
.frame(width: 10)
}