Skip to content

how to enable auto-formatting for time axis on zoom events with custom date-time format? #1513

@juni-green

Description

@juni-green

Hi,
Is there any way to keep the auto-formatting enabled for time axis in plotly.js graph even after applying customized formatting using "tickformat"?
Actually, I have customized the time format using:
tickformat: "%H:%M"
such that only Hour:Minutes appear on the time axis. But by doing so, I lost the default formatting functionality that works on zoom-in/zoom-out events. Now if I zoom-in, the tick format doesn't expand to seconds or milliseconds. Is it possible to make it work like default auto-formatting functionality on zooming-in/zooming-out with the above mentioned customization?

Any help will be appreciated.
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy