Skip to content

Use global min/max when removing excess date ticklables#1988

Merged
aestoltm merged 9 commits intoubccr:xdmod11.0from
aestoltm:datetime_ticklabel_bugfix
Feb 21, 2025
Merged

Use global min/max when removing excess date ticklables#1988
aestoltm merged 9 commits intoubccr:xdmod11.0from
aestoltm:datetime_ticklabel_bugfix

Conversation

@aestoltm
Copy link
Copy Markdown
Contributor

@aestoltm aestoltm commented Feb 20, 2025

Description

Partial data series can trick the current implementation into incorrectly removing datetime tick labels if the data is the first data point and does not contain the global minimum and/or maximum of the dataset.

Motivation and Context

This can cause issues viewing timeseries charts. Resulting in missing/incomplete datetime tick lables

Tests performed

Tested on my dev port

Checklist:

  • The pull request description is suitable for a Changelog entry
  • The milestone is set correctly on the pull request
  • The appropriate labels have been added to the pull request

@aestoltm aestoltm added bug Bugfixes Category:Metric Explorer Metric Explorer / Usage labels Feb 20, 2025
@aestoltm aestoltm added this to the 11.0.1 milestone Feb 20, 2025
@aestoltm aestoltm requested a review from aaronweeden February 20, 2025 21:44
@aestoltm aestoltm requested a review from aaronweeden February 21, 2025 20:05
@aestoltm aestoltm merged commit df1904e into ubccr:xdmod11.0 Feb 21, 2025
4 checks passed
@aestoltm aestoltm deleted the datetime_ticklabel_bugfix branch February 21, 2025 20:36
@aestoltm aestoltm restored the datetime_ticklabel_bugfix branch February 21, 2025 20:36
aestoltm added a commit to aestoltm/xdmod that referenced this pull request Feb 21, 2025
aaronweeden pushed a commit to aaronweeden/xdmod that referenced this pull request Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Bugfixes Category:Metric Explorer Metric Explorer / Usage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants