Skip to content

Option to make x-axis calendar-scaled#7740

Open
ankurjuneja wants to merge 1 commit into
developfrom
fb_calendar_based_grouping_1209
Open

Option to make x-axis calendar-scaled#7740
ankurjuneja wants to merge 1 commit into
developfrom
fb_calendar_based_grouping_1209

Conversation

@ankurjuneja

@ankurjuneja ankurjuneja commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Rationale

The platform vis library (TrendingLinePlot) only supported an ordinal/discrete X-axis, so equal time gaps and long gaps between dates looked identical. These changes add an opt-in timeBasedXTick mode that renders a continuous, day-offset–based time scale (with same-day jitter on the continuous axis and a shared LABKEY.vis.dateToDayNumber helper), enabling the targetedms calendar grouping without affecting existing discrete-axis callers.

https://github.com/LabKey/internal-issues/issues/1209

Related Pull Requests

Changes

  • Added opt-in timeBasedXTick continuous time X-axis.
  • Added shared LABKEY.vis.dateToDayNumber helper.

Tasks 📍

  • Claude Code Review
  • Manual Testing
  • Test Automation
  • Verify Fix

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant