{"action":"created","issue":{"url":"https://api.github.com/repos/morrisjs/morris.js/issues/565","labels_url":"https://api.github.com/repos/morrisjs/morris.js/issues/565/labels{/name}","comments_url":"https://api.github.com/repos/morrisjs/morris.js/issues/565/comments","events_url":"https://api.github.com/repos/morrisjs/morris.js/issues/565/events","html_url":"https://github.com/morrisjs/morris.js/issues/565","id":58644429,"number":565,"title":"setData and ymax / ymin","user":{"login":"jwkellyiii","id":508048,"avatar_url":"https://avatars.githubusercontent.com/u/508048?v=3","gravatar_id":"","url":"https://api.github.com/users/jwkellyiii","html_url":"https://github.com/jwkellyiii","followers_url":"https://api.github.com/users/jwkellyiii/followers","following_url":"https://api.github.com/users/jwkellyiii/following{/other_user}","gists_url":"https://api.github.com/users/jwkellyiii/gists{/gist_id}","starred_url":"https://api.github.com/users/jwkellyiii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwkellyiii/subscriptions","organizations_url":"https://api.github.com/users/jwkellyiii/orgs","repos_url":"https://api.github.com/users/jwkellyiii/repos","events_url":"https://api.github.com/users/jwkellyiii/events{/privacy}","received_events_url":"https://api.github.com/users/jwkellyiii/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-23T20:39:11Z","updated_at":"2015-02-24T14:03:36Z","closed_at":null,"body":"Why can't I update the ymax / ymin when using setData? If the data I am updating has a much larger range, the are goes off the chart. I would use ymin / ymax: auto [num], but I don't want my chart y-axis to start at 0 since my data goes up to 5+ million [0 to 5 million y-axis makes the chart useless]."},"comment":{"url":"https://api.github.com/repos/morrisjs/morris.js/issues/comments/75760908","html_url":"https://github.com/morrisjs/morris.js/issues/565#issuecomment-75760908","issue_url":"https://api.github.com/repos/morrisjs/morris.js/issues/565","id":75760908,"user":{"login":"JelteF","id":1162278,"avatar_url":"https://avatars.githubusercontent.com/u/1162278?v=3","gravatar_id":"","url":"https://api.github.com/users/JelteF","html_url":"https://github.com/JelteF","followers_url":"https://api.github.com/users/JelteF/followers","following_url":"https://api.github.com/users/JelteF/following{/other_user}","gists_url":"https://api.github.com/users/JelteF/gists{/gist_id}","starred_url":"https://api.github.com/users/JelteF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JelteF/subscriptions","organizations_url":"https://api.github.com/users/JelteF/orgs","repos_url":"https://api.github.com/users/JelteF/repos","events_url":"https://api.github.com/users/JelteF/events{/privacy}","received_events_url":"https://api.github.com/users/JelteF/received_events","type":"User","site_admin":false},"created_at":"2015-02-24T14:03:36Z","updated_at":"2015-02-24T14:03:36Z","body":"If you change the options object in the graph instance before calling setData on it it will use the new options object. So you could change the ymax/ymin there. "}}