|
@@ -217,9 +217,9 @@ extension Stat.StateModel {
|
|
|
/// Defines the available types of glucose charts
|
|
/// Defines the available types of glucose charts
|
|
|
enum GlucoseChartType: String, CaseIterable {
|
|
enum GlucoseChartType: String, CaseIterable {
|
|
|
/// Ambulatory Glucose Profile showing percentile ranges
|
|
/// Ambulatory Glucose Profile showing percentile ranges
|
|
|
- case percentileByTime = "Percentile (over time)"
|
|
|
|
|
|
|
+ case percentileByTime = "Percentile"
|
|
|
/// Time-based distribution of glucose ranges
|
|
/// Time-based distribution of glucose ranges
|
|
|
- case distributionByTime = "Distribution (over time)"
|
|
|
|
|
|
|
+ case distributionByTime = "Distribution"
|
|
|
/// Day-based box plot of glucose percentile ranges
|
|
/// Day-based box plot of glucose percentile ranges
|
|
|
case percentileByDay = "Percentile (by day)"
|
|
case percentileByDay = "Percentile (by day)"
|
|
|
/// Day-based distribution of glucose ranges
|
|
/// Day-based distribution of glucose ranges
|
|
@@ -228,9 +228,9 @@ extension Stat.StateModel {
|
|
|
var displayName: String {
|
|
var displayName: String {
|
|
|
switch self {
|
|
switch self {
|
|
|
case .percentileByTime:
|
|
case .percentileByTime:
|
|
|
- return String(localized: "Percentile (over time)")
|
|
|
|
|
|
|
+ return String(localized: "Percentile")
|
|
|
case .distributionByTime:
|
|
case .distributionByTime:
|
|
|
- return String(localized: "Distribution (over time)")
|
|
|
|
|
|
|
+ return String(localized: "Distribution")
|
|
|
case .percentileByDay:
|
|
case .percentileByDay:
|
|
|
return String(localized: "Percentile (by day)")
|
|
return String(localized: "Percentile (by day)")
|
|
|
case .distributionByDay:
|
|
case .distributionByDay:
|