@@ -202,6 +202,12 @@ extension MainChartView {
.asMmolL ... state.maxYAxisValue.asMmolL
)
.chartLegend(.hidden)
+ .chartForegroundStyleScale([
+ "iob": Color.insulin,
+ "uam": Color.uam,
+ "zt": Color.zt,
+ "cob": Color.orange
+ ])
}
@@ -185,6 +185,12 @@ struct ForecastChart: View {
}.font(.caption2)
@ViewBuilder var selectionPopover: some View {