flrs / visavail

A D3.js Time Data Availability Visualization
https://flrs.github.io/visavail/docs/samples/basic.html
MIT License
310 stars 59 forks source link

Putting large number of input #17

Closed aybarskizilay closed 7 years ago

aybarskizilay commented 7 years ago

Hello, I was planning to create a timing diagram. And I think your design is pretty suitable for that.However, I have an issue about it and if you can guide me to solve that, I would be really appreciated. var dataset = [{ "measure": "Birds Sing", "data": [ ["2016-01-01 06:59:50", 1, "2016-01-01 07:00:23"], ["2016-01-01 07:00:23", 1, "2016-01-01 07:01:40"], ["2016-01-01 07:01:41", 1, "2016-01-01 07:02:45"], ["2016-01-01 07:02:46", 1, "2016-01-01 07:03:15"], ["2016-01-01 07:03:16", 1, "2016-01-01 07:04:07"], ["2016-01-01 07:04:09", 1, "2016-01-01 07:04:11"] ] }, As you can see at above, I have 6 input entries and I can display all of them if I enter them manually. However, when I parsed my data as same format as input data then copy it in html file from txt file, it doesn't work. Is there any other method to put the input data ? Could you help me to solve this issue? Best Regards