xxxxxxxxxx
Chart {
ForEach(values, id: \.self) { data in
LineMark(x: .value("Date", data.date),
y: .value("Price", data.value))
.interpolationMethod(.catmullRom)
.foregroundStyle(Color.bgColor(theme: categoryInfo.color))
.symbol(.circle)
}
}.frame(height: 150)
.chartScrollableAxes(.horizontal) <---------