Plotly line chart clarification on how timestamp being displayed

Hi,

I am using plotly js for react library and am facing a issue while using it and no proper documentation or support being raised in the internet , the issue is I want to hide the timezone and show only the date when the char is being zoomed , i cant able to view any properties to remove timezone from the chart co ordinated

This page will help: Formatting ticks in JavaScript

Basically, you want to set the tickformat for your axis.

xaxis: {
      tickformat: '%b%d, %Y'
    }

You can set tickformatstops if you want to control things by zoom level.

1 Like

Thanks for your valuable reply , is there any way to customize the timezone display , like i dont want to display the seconds and milliseconds , only hours and minutes is enough

Read here for all your options: