{"action":"created","issue":{"url":"https://api.github.com/repos/almende/vis/issues/741","labels_url":"https://api.github.com/repos/almende/vis/issues/741/labels{/name}","comments_url":"https://api.github.com/repos/almende/vis/issues/741/comments","events_url":"https://api.github.com/repos/almende/vis/issues/741/events","html_url":"https://github.com/almende/vis/issues/741","id":64593000,"number":741,"title":"Timeaxis scaling issue with start and end date on timeline","user":{"login":"bondseid","id":11668422,"avatar_url":"https://avatars.githubusercontent.com/u/11668422?v=3","gravatar_id":"","url":"https://api.github.com/users/bondseid","html_url":"https://github.com/bondseid","followers_url":"https://api.github.com/users/bondseid/followers","following_url":"https://api.github.com/users/bondseid/following{/other_user}","gists_url":"https://api.github.com/users/bondseid/gists{/gist_id}","starred_url":"https://api.github.com/users/bondseid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bondseid/subscriptions","organizations_url":"https://api.github.com/users/bondseid/orgs","repos_url":"https://api.github.com/users/bondseid/repos","events_url":"https://api.github.com/users/bondseid/events{/privacy}","received_events_url":"https://api.github.com/users/bondseid/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/almende/vis/labels/Timeline","name":"Timeline","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-26T17:49:00Z","updated_at":"2015-03-27T11:37:44Z","closed_at":null,"body":"Hello,\r\n\r\nI am using the timeline and would like to set the time axis to step of 15 minutes when i have a start and end date on my timeline. Here is how i am constructing the timeline\r\n\r\nitems = new vis.DataSet([\r\n          {id: 4, content: 'item 4', start: \"2015-03-22T20:41:29.201Z\", end: \"2015-03-22T20:41:29.237Z\"},\r\n        ])\r\n\r\n        timeAxis = {}\r\n\r\n        options = {\r\n            orientation: \"top\",\r\n            start: \"2015-03-10T04:00:00.000Z\",\r\n            end: \"2015-03-26T04:00:00.000Z\",\r\n            timeAxis: {scale: 'minute', step: '15'}\r\n        }\r\n\r\n        timeline = new vis.Timeline($element[0], items, options)\r\n\r\n        timeline.on \"click\", (properties) ->\r\n            console.log properties\r\n\r\nThere seem to however b scaling issues as the timeline does not resize to fit the axis. See image attached:\r\n![screen shot 2015-03-26 at 1 47 42 pm](https://cloud.githubusercontent.com/assets/11668422/6853023/ba7633b4-d3be-11e4-8ffb-b92a09e6de18.png)\r\n\r\nIf i remove the timeaxis option from the options object: \r\n\r\n![screen shot 2015-03-26 at 1 48 32 pm](https://cloud.githubusercontent.com/assets/11668422/6853043/d3355966-d3be-11e4-9529-b75f90990330.png)\r\n\r\nPerhaps i am missing something.\r\n\r\nThanks a lot!\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/almende/vis/issues/comments/86907638","html_url":"https://github.com/almende/vis/issues/741#issuecomment-86907638","issue_url":"https://api.github.com/repos/almende/vis/issues/741","id":86907638,"user":{"login":"bondseid","id":11668422,"avatar_url":"https://avatars.githubusercontent.com/u/11668422?v=3","gravatar_id":"","url":"https://api.github.com/users/bondseid","html_url":"https://github.com/bondseid","followers_url":"https://api.github.com/users/bondseid/followers","following_url":"https://api.github.com/users/bondseid/following{/other_user}","gists_url":"https://api.github.com/users/bondseid/gists{/gist_id}","starred_url":"https://api.github.com/users/bondseid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bondseid/subscriptions","organizations_url":"https://api.github.com/users/bondseid/orgs","repos_url":"https://api.github.com/users/bondseid/repos","events_url":"https://api.github.com/users/bondseid/events{/privacy}","received_events_url":"https://api.github.com/users/bondseid/received_events","type":"User","site_admin":false},"created_at":"2015-03-27T11:37:44Z","updated_at":"2015-03-27T11:37:44Z","body":"I built my own very simple directive just for the timeline.\r\n\r\nAlso i used the directive to see if that would work and the same thing is happening, the timeline or any other graph is not picking up when i try and drag or click. Do i need to manually define these events?\r\n\r\n"}}