Repository navigation
Settings › Display: now line, glucose scale and time window - #2613
Merged
Merged
Conversation
- Now Line toggle. - Glucose Scale: Auto (current behavior) or Fixed 40-400 mg/dL. - Time Window: Full Forecast (current behavior), 3 Hours (3 h back, 3 h ahead), 6 Hours or 12 Hours (that much history plus the full insulin action time ahead). The hour options are sized for a portrait iPhone; wider screens keep the same zoom and show more history, up to 2x. - X-axis labels thin out based on available width. Changes apply to the status charts immediately.
Collaborator
Author
jenneman
pushed a commit
to jenneman-org/LoopWorkspace
that referenced
this pull request
Oct 26, 2026
…ime window) - LoopKit/LoopKit#667: chart now line, fixed glucose scale and x-axis label spacing - LoopKit/Loop#2613: Settings › Display with Now Line, Glucose Scale and Time Window
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




Adds Settings › Display with three options for the status charts. Requires LoopKit/LoopKit#667.
now_linecustomization).The hour options are sized for a portrait iPhone. Wider screens (landscape, iPhone Duo unfolded) keep the same zoom and fill the extra width with more history, up to 2×. X-axis labels thin out by available width, so they stay readable on long windows and stay hourly when there's room.
Changes apply to the status charts immediately, without a relaunch.
Tested in the simulator on an iPhone 17 Pro (portrait and landscape) and an iPhone Duo (folded, and unfolded in landscape), with a 12-hour scenario of meals, manual and automatic boluses and a fingerstick.
Known limit: on the fixed scale, a CGM reading above 400 mg/dL (some Libre sensors report up to 500) would draw above the top gridline.