square / cubism

Cubism.js: A JavaScript library for time series visualization.
https://square.github.com/cubism/
Other
4.94k stars 526 forks source link

Datetime synchronization with data #132

Open dashrathc opened 8 years ago

dashrathc commented 8 years ago

Hello Team,

I am facing an issue while rendering time-series data using cubism. It's not able to synchronize with the given date and time. Please find attached screenshot and files.

Regards, Dashrath cubism

timeseries.html <!DOCTYPE html>

data.csv ELEMENT_NAME,MEASURED_TIME,ELEMENT_VALUE Al2O3,2016-04-21 15:13:00,2.45 Al2O3,2016-04-21 15:15:00,15.87 Al2O3,2016-04-21 15:17:00,-0.21 Al2O3,2016-04-21 15:18:00,22 Al2O3,2016-04-21 15:19:00,-0.15 Al2O3,2016-04-21 15:21:00,10.13 Al2O3,2016-04-21 15:22:00,2.45 Al2O3,2016-04-21 15:24:00,-0.21 Al2O3,2016-04-21 15:27:00,15.87 Al2O3,2016-04-21 15:29:00,2.45 Al2O3,2016-04-21 15:30:00,8.77 Al2O3,2016-04-21 15:32:00,17.25 Al2O3,2016-04-21 15:35:00,26 Al2O3,2016-04-21 15:37:00,15.87 Al2O3,2016-04-21 15:38:00,-0.15 Al2O3,2016-04-21 15:40:00,-0.15 Al2O3,2016-04-21 15:41:00,31 Al2O3,2016-04-21 15:43:00,22 Al2O3,2016-04-21 15:45:00,15.87 Al2O3,2016-04-21 15:46:00,26 Al2O3,2016-04-21 15:48:00,15.87 Al2O3,2016-04-21 15:49:00,-0.15 Al2O3,2016-04-21 15:51:00,2.45 Al2O3,2016-04-21 15:52:00,-0.15 Al2O3,2016-04-21 15:54:00,17 Al2O3,2016-04-21 15:55:00,26 Al2O3,2016-04-21 15:57:00,-0.15 Al2O3,2016-04-21 15:58:00,-0.21 Al2O3,2016-04-21 16:00:00,2.45 Al2O3,2016-04-21 16:02:00,-0.21 Al2O3,2016-04-21 16:03:00,17 Al2O3,2016-04-21 16:05:00,8.77 Al2O3,2016-04-21 16:06:00,-0.21 Al2O3,2016-04-21 16:08:00,17 Al2O3,2016-04-21 16:11:00,8.77 Al2O3,2016-04-21 16:12:00,9.54 Al2O3,2016-04-21 16:14:00,22 Al2O3,2016-04-21 16:15:00,0 Al2O3,2016-04-21 16:18:00,17 Al2O3,2016-04-21 16:20:00,17.25 Al2O3,2016-04-21 16:22:00,17.25 Al2O3,2016-04-21 16:23:00,8.77 Al2O3,2016-04-21 16:25:00,8.77 Al2O3,2016-04-21 16:26:00,26 Al2O3,2016-04-21 16:28:00,10.13 Al2O3,2016-04-21 16:29:00,-0.21 Al2O3,2016-04-21 16:31:00,8.77 Al2O3,2016-04-21 16:32:00,31 Al2O3,2016-04-21 16:34:00,9.54 Al2O3,2016-04-21 16:37:00,10.13 Al2O3,2016-04-21 16:39:00,9.54 Al2O3,2016-04-21 16:40:00,-0.15 Al2O3,2016-04-21 16:43:00,-0.21 Al2O3,2016-04-21 16:45:00,26 Al2O3,2016-04-21 16:47:00,0 Al2O3,2016-04-21 16:50:00,7.88 Al2O3,2016-04-21 16:51:00,15.87 Al2O3,2016-04-21 16:53:00,15.87 Al2O3,2016-04-21 16:54:00,2.45 Al2O3,2016-04-21 16:56:00,15.87 CaO,2016-04-21 15:15:00,15.87 CaO,2016-04-21 15:17:00,15.87 CaO,2016-04-21 15:18:00,-0.46 CaO,2016-04-21 15:21:00,19.54 CaO,2016-04-21 15:22:00,51.25 CaO,2016-04-21 15:24:00,27.88 CaO,2016-04-21 15:27:00,15.87 CaO,2016-04-21 15:29:00,40.13 CaO,2016-04-21 15:30:00,19.54 CaO,2016-04-21 15:32:00,51.25 CaO,2016-04-21 15:34:00,12.45 CaO,2016-04-21 15:35:00,12.45 CaO,2016-04-21 15:37:00,38.77 CaO,2016-04-21 15:38:00,0 CaO,2016-04-21 15:40:00,51.25 CaO,2016-04-21 15:41:00,70.22 CaO,2016-04-21 15:43:00,38.77 CaO,2016-04-21 15:45:00,15.87 CaO,2016-04-21 15:46:00,40.13
RandomEtc commented 8 years ago

It's not clear what's going on here. Did you paste any code above that didn't show up correctly?