Skip to content Skip to sidebar Skip to footer

Plotly.js Setting Timezone For Type:"date"

I'm working on a graph to display a status over time. All the data is in unix formatting. I display the data in my title using javascript (new Date(data)).toUTCString. This is the

Solution 1:

Plotly doesn't currently support timezones.

You might want to use something like moment.js timezone if you need to precompute datetime to a local timezone or to UTC. Or you can do it manually if you like.

Post a Comment for "Plotly.js Setting Timezone For Type:"date""