Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor date ticklabels #1992

Open
wants to merge 15 commits into
base: xdmod11.0
Choose a base branch
from

Conversation

aestoltm
Copy link
Contributor

@aestoltm aestoltm commented Feb 27, 2025

Description

Compute the placement and format of ticklabels using tickvals and ticktext. This gives us full control of which tick labels are rendered and their values. This is necessary to have the first and last label of the data always showing, along with not having any labels outside of the selected time range. These changes result in not needing to remove any extra tick labels because we dictate what is rendered.

Motivation and Context

Avoid any confusion about data existing outside the selected time range.

Tests performed

Tested on my 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 27, 2025
@aestoltm aestoltm added this to the 11.0.1 milestone Feb 27, 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.

1 participant