Skip to content

Time chart x-axis drops the date after the first tick on multi-day ranges below daily granularity #3867

Done

Description

@jplorier

What happens

On a time chart with sub-day granularity over a range longer than a day, only the first x-axis tick shows a date. Every later tick shows only the time of day. For example, at "Last 7 days" with 12 hour granularity, the ticks read Nov 23 12:00:00 AM, 12:00:00 PM, 12:00:00 AM, 12:00:00 PM, … so you can't tell which day a point belongs to without hovering.

#3779 fixed this at daily granularity or coarser, and its description lists this sub-day, multi-day case as a separate follow-up.

Expected

When the chart's range spans more than a day, every tick shows the date and time (the existing short format, e.g. Nov 24 12:00PM). Charts whose range fits in one day keep time-only ticks after the first.

How to reproduce

  1. Open the chart explorer on play.hyperdx.io (or yarn app:dev:local with the demo server).
  2. Choose a count of events, range "Last 7 days", granularity "12 hour" (or let auto pick a sub-day bucket).
  3. Look at the x-axis labels after the first tick.

Environment

Seen on @hyperdx/app@2.47.0. Still present on main (getXAxisTickDateFormat returns time for every tick after the first below daily granularity).

Activity

  1. added a commit that references this issue on Dec 1, 2026
    92aa9c3
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions