DataModel.swift 673 B

12345678910111213141516171819
  1. import Foundation
  2. // let ektasienView: [ViewMonth] = [
  3. // .init(date: Date.from(year: 2023, month: 1, day: 1), viewCount: 123),
  4. // .init(date: Date.from(year: 2023, month: 2, day: 1), viewCount: 100),
  5. // .init(date: Date.from(year: 2023, month: 3, day: 1), viewCount: 80),
  6. // .init(date: Date.from(year: 2023, month: 4, day: 1), viewCount: 65),
  7. // .init(date: Date.from(year: 2023, month: 5, day: 1), viewCount: 120),
  8. // .init(date: Date.from(year: 2023, month: 6, day: 1), viewCount: 25)
  9. // ]
  10. // struct GlucoseInChart {
  11. // let value: Decimal
  12. // let id: UUID
  13. // let timestamp: Date
  14. // }
  15. //
  16. // @Binding var bloodGlucoseDataModel: [BloodGlucose]