Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

tickformat:"%H:%M" is not working

Hi,
I have epoch time. To resolve timezone problem, converted it into string format; working fine. But in X-axis i need to show only hours:min.
Pl find my this
https://jsfiddle.net/1yLavejg/26/

Pl help me

Thx
Lavanya

Here’s how https://jsfiddle.net/1yLavejg/27/

In your fiddle, your x values were considered categories not dates.

plotly.js understands:

  • the ISO 8601 format,
  • YYYY-MM-DD HH:MM:SS strings,
  • as well as JavaScript new Date objects

as dates.

Thank very much.
Working fine.