{"action":"created","issue":{"url":"https://api.github.com/repos/almende/vis/issues/2130","repository_url":"https://api.github.com/repos/almende/vis","labels_url":"https://api.github.com/repos/almende/vis/issues/2130/labels{/name}","comments_url":"https://api.github.com/repos/almende/vis/issues/2130/comments","events_url":"https://api.github.com/repos/almende/vis/issues/2130/events","html_url":"https://github.com/almende/vis/issues/2130","id":180739944,"number":2130,"title":"Network - Question - How to only allow Horizontally drag for network chart?","user":{"login":"JamieZhang2016","id":20972448,"avatar_url":"https://avatars.githubusercontent.com/u/20972448?v=3","gravatar_id":"","url":"https://api.github.com/users/JamieZhang2016","html_url":"https://github.com/JamieZhang2016","followers_url":"https://api.github.com/users/JamieZhang2016/followers","following_url":"https://api.github.com/users/JamieZhang2016/following{/other_user}","gists_url":"https://api.github.com/users/JamieZhang2016/gists{/gist_id}","starred_url":"https://api.github.com/users/JamieZhang2016/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JamieZhang2016/subscriptions","organizations_url":"https://api.github.com/users/JamieZhang2016/orgs","repos_url":"https://api.github.com/users/JamieZhang2016/repos","events_url":"https://api.github.com/users/JamieZhang2016/events{/privacy}","received_events_url":"https://api.github.com/users/JamieZhang2016/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/almende/vis/labels/Network","name":"Network","color":"009800"},{"url":"https://api.github.com/repos/almende/vis/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-03T20:35:03Z","updated_at":"2016-10-04T16:31:56Z","closed_at":null,"body":"I created a network chart using vis.js. In Options -> Interaction, we can set \"drawView\" to enable or disable the chart dragging. However, is there a way for me to only allow Horizontally dragging the chart?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/almende/vis/issues/comments/251440695","html_url":"https://github.com/almende/vis/issues/2130#issuecomment-251440695","issue_url":"https://api.github.com/repos/almende/vis/issues/2130","id":251440695,"user":{"login":"JamieZhang2016","id":20972448,"avatar_url":"https://avatars.githubusercontent.com/u/20972448?v=3","gravatar_id":"","url":"https://api.github.com/users/JamieZhang2016","html_url":"https://github.com/JamieZhang2016","followers_url":"https://api.github.com/users/JamieZhang2016/followers","following_url":"https://api.github.com/users/JamieZhang2016/following{/other_user}","gists_url":"https://api.github.com/users/JamieZhang2016/gists{/gist_id}","starred_url":"https://api.github.com/users/JamieZhang2016/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JamieZhang2016/subscriptions","organizations_url":"https://api.github.com/users/JamieZhang2016/orgs","repos_url":"https://api.github.com/users/JamieZhang2016/repos","events_url":"https://api.github.com/users/JamieZhang2016/events{/privacy}","received_events_url":"https://api.github.com/users/JamieZhang2016/received_events","type":"User","site_admin":false},"created_at":"2016-10-04T16:31:56Z","updated_at":"2016-10-04T16:31:56Z","body":"Hey dragonzone, I tried your snippet and it locks the vertical drag, but only for the Nodes. Actually I want to  lock vertical drag for the whole canvas, which is the whole network chart. I tried many ways but could not achieve this goal. Thanks a lot."}}
{"actor":{"display_login":"JamieZhang2016"}}