Skip to content

Commit

Permalink
hotfix: yAxis scale
Browse files Browse the repository at this point in the history
  • Loading branch information
bastiaanv authored Sep 13, 2024
1 parent 88ba91c commit 03d5489
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Loop Widget Extension/Live Activity/ChartView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ struct ChartView: View {
plotContent.background(.cyan.opacity(0.15))
}
.chartLegend(.hidden)
.chartYScale(domain: [yAxisMarks.first ?? 0, yAxisMarks.last ?? 0])
.chartYAxis {
AxisMarks(values: yAxisMarks)
}
Expand Down

0 comments on commit 03d5489

Please sign in to comment.