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

Vis-timeline additional labels of date format on the time axis #1780

Open
walerun opened this issue Mar 22, 2024 · 0 comments
Open

Vis-timeline additional labels of date format on the time axis #1780

walerun opened this issue Mar 22, 2024 · 0 comments

Comments

@walerun
Copy link

walerun commented Mar 22, 2024

Hi, it would be nice if vis-timeline could support additional scales in date format config. For example, currently, you can set minorLabels as:

minorLabels: {
    millisecond:'SSS',
    second:     's',
    minute:     'HH:mm',
    hour:       'HH:mm',
    weekday:    'ddd D',
    day:        'D',
    week:       'w',
    month:      'MMM',
    year:       'YYYY'
  }

However, I can not handle a week. If you try to scale the timeline it does not appear at all nor do you configure it with an object or function. Another case is I want to handle a quarter interval. And there is no such option in config.

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

No branches or pull requests

1 participant