Skip to content

Conversation

@marshallpete
Copy link
Member

@marshallpete marshallpete commented Nov 15, 2024

Description

Occasionally (though not recommended) a user needs a vertical time axis. This adds support for the "pretty" time axis on the left or right.

How Has This Been Tested?

New tests added. New and previous pass.

Stories

Axis > VerticalTimeAxis

Screenshots (if appropriate):

image image image

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@github-actions
Copy link

@sonarqubecloud
Copy link

@github-actions
Copy link

switch (granularity) {
case 'minute':
return ['%-I:%M %p', '%b %-d', 'minute'];
return { secondaryLabelFormat: '%-I:%M %p', primaryLabelFormat: '%b %-d', tickCount: 'minute' };
Copy link
Contributor

Choose a reason for hiding this comment

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

Love this improvement! Much easier to code in and understand 🎉

@marshallpete marshallpete merged commit 9a946d8 into main Nov 15, 2024
5 checks passed
@marshallpete marshallpete deleted the verticalTimeAxis branch November 15, 2024 22:07
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