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

feat: support new granularities when determining x-axis timestamp format #1848

Merged
merged 6 commits into from
Dec 12, 2024

Conversation

filipgutica
Copy link
Contributor

@filipgutica filipgutica commented Dec 11, 2024

@filipgutica filipgutica requested a review from a team as a code owner December 11, 2024 20:15
@filipgutica filipgutica force-pushed the fix/analytics-chart-time-label-formats branch from f92b822 to 21d468e Compare December 11, 2024 20:20
// which is not visible as we're using a custom tooltip.
// Scaling factor that prevents the tooltip from shifting too far when it's wide, or too little when
// it's narrow. Ensuring that as the tooltip width changes, the horizontal offset is proportionally
// adjusted to maintain a visually balanced placement.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some housekeeping... revisited this old code... thought I'd improve this explanation a bit

@hfukada
Copy link
Contributor

hfukada commented Dec 12, 2024

image
12 hour granularity over 30 days shows only hours at the bottom for some reason

@hfukada
Copy link
Contributor

hfukada commented Dec 12, 2024

image
I don't know if part of this functionality, but when selecting "10second" or anything below 1 minute, i think we should probably show the down to seconds in the hover tooltip

@filipgutica filipgutica merged commit a4d46ee into main Dec 12, 2024
10 checks passed
@filipgutica filipgutica deleted the fix/analytics-chart-time-label-formats branch December 12, 2024 18:49
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.

3 participants