Hello, how do I remove the background lines of a chart and just show the BarMark?
import SwiftUI
import Charts
struct myView: View {
var body: some View {
Chart{
BarMark(x: .value("o", 5), y: .value("m", "Duration: 5m"), width: 7)
.foregroundStyle(.orange)
BarMark(x: .value("o", 7), y: .value("m", "Intervals: 7"), width: 7)
.foregroundStyle(.teal)
}
}
}