You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a problem. I want to use ApexCharts in my page and I have in my database a several amount of data with timestamp in seconds. An example is 1658809502.
So I found out in Apexchart's docs that uses the timestamp in miliseconds (An example is 1358809200000). I probabily solve the problem multipling every timestamp by 1000 but I don't like that solution.
Is there a way to change the timestamp to seconds instead of milliseconds in xaxis?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I have a problem. I want to use ApexCharts in my page and I have in my database a several amount of data with timestamp in seconds. An example is 1658809502.
So I found out in Apexchart's docs that uses the timestamp in miliseconds (An example is 1358809200000). I probabily solve the problem multipling every timestamp by 1000 but I don't like that solution.
Is there a way to change the timestamp to seconds instead of milliseconds in xaxis?
I get this table:
The script is:
Beta Was this translation helpful? Give feedback.
All reactions