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

tickInterval does not support seconds or milliseconds #4771

Closed
vertxxyz opened this issue Aug 25, 2023 · 0 comments · Fixed by #4778
Closed

tickInterval does not support seconds or milliseconds #4771

vertxxyz opened this issue Aug 25, 2023 · 0 comments · Fixed by #4778

Comments

@vertxxyz
Copy link
Contributor

Description

tickInterval for gantt charts does not support seconds or milliseconds despite D3 supporting them and ms support being added.

Steps to reproduce

Use the supplied code, note how setting the tickInterval with either option does nothing to the chart.

Screenshots

No response

Code Sample

---
displayMode: compact
---
gantt
    dateFormat SSS
    %% tickInterval 0.00008minute
    %% tickInterval 5millisecond
    axisFormat •
    section Frame
        1: 0, 18ms
        2: 5ms
        3: 13ms

Setup

  • Mermaid version: 10.3.1
  • Browser and Version: Chrome, latest stable

Suggested Solutions

No response

Additional Context

I may have time to make a PR to fix this, as it seems fairly straight forward. Don't let that stop anyone though!

@vertxxyz vertxxyz added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants