Skip to content

[android] Today HR chart: arbitrary x-axis times, no time in the drag readout #181

Closed

Description

@pagarsky

Current behaviour

The Today screen's BEATS PER MINUTE chart labels its x-axis with the rendered data extent's own endpoints, so you get labels like 00:05 / 11:05 / Now — arbitrary times that shift with every refresh and give no round reference points in between.

The tap/drag pinpoint shows the value only (100 bpm). Combined with the arbitrary axis, reading the chart becomes guesswork: "HR was 100 somewhere between 6 and 9 AM".

Proposed improvement

  • Round wall-clock axis ticks chosen by the visible span (e.g. every 3h for a full day, 15min when zoomed to an hour), aligned to local midnight so they stay round across DST.
  • A subtle dotted gridline under the curve at each tick, with the label centred under it. Keep the "Now" end label.
  • Prefix the scrub readout with the sample's time: 14:32 · 87 bpm.

This makes the axis read like a clock and the scrub answer when, not just what.

PR follows.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions