We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7e11b31 + ee7faee commit d47b396Copy full SHA for d47b396
GithubContributionGraphExample/ContentView.swift
@@ -24,7 +24,7 @@ struct ContentView: View {
24
content
25
.aspectRatio(aspectRatio, contentMode: .fit)
26
}
27
- .chartForegroundStyleScale(range: Gradient(colors: colors))
+ .chartForegroundStyleScale(domain: 0...10, range: Gradient(colors: colors))
28
.chartXAxis {
29
AxisMarks(position: .top, values: .stride(by: .month)) {
30
AxisValueLabel(format: .dateTime.month())
0 commit comments