{"action":"created","issue":{"url":"https://api.github.com/repos/almende/vis/issues/2110","repository_url":"https://api.github.com/repos/almende/vis","labels_url":"https://api.github.com/repos/almende/vis/issues/2110/labels{/name}","comments_url":"https://api.github.com/repos/almende/vis/issues/2110/comments","events_url":"https://api.github.com/repos/almende/vis/issues/2110/events","html_url":"https://github.com/almende/vis/issues/2110","id":178217841,"number":2110,"title":"Max value for right y-axis doesn't seem to work","user":{"login":"AdamNowaczyk","id":5577457,"avatar_url":"https://avatars.githubusercontent.com/u/5577457?v=3","gravatar_id":"","url":"https://api.github.com/users/AdamNowaczyk","html_url":"https://github.com/AdamNowaczyk","followers_url":"https://api.github.com/users/AdamNowaczyk/followers","following_url":"https://api.github.com/users/AdamNowaczyk/following{/other_user}","gists_url":"https://api.github.com/users/AdamNowaczyk/gists{/gist_id}","starred_url":"https://api.github.com/users/AdamNowaczyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdamNowaczyk/subscriptions","organizations_url":"https://api.github.com/users/AdamNowaczyk/orgs","repos_url":"https://api.github.com/users/AdamNowaczyk/repos","events_url":"https://api.github.com/users/AdamNowaczyk/events{/privacy}","received_events_url":"https://api.github.com/users/AdamNowaczyk/received_events","type":"User","site_admin":false},"labels":[{"id":36077693,"url":"https://api.github.com/repos/almende/vis/labels/Bug","name":"Bug","color":"fc2929","default":false},{"id":114952411,"url":"https://api.github.com/repos/almende/vis/labels/Graph2D","name":"Graph2D","color":"006b75","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/almende/vis/milestones/1","html_url":"https://github.com/almende/vis/milestones/Minor%20Release%20v4.17","labels_url":"https://api.github.com/repos/almende/vis/milestones/1/labels","id":1977013,"number":1,"title":"Minor Release v4.17","description":"","creator":{"login":"mojoaxel","id":600565,"avatar_url":"https://avatars.githubusercontent.com/u/600565?v=3","gravatar_id":"","url":"https://api.github.com/users/mojoaxel","html_url":"https://github.com/mojoaxel","followers_url":"https://api.github.com/users/mojoaxel/followers","following_url":"https://api.github.com/users/mojoaxel/following{/other_user}","gists_url":"https://api.github.com/users/mojoaxel/gists{/gist_id}","starred_url":"https://api.github.com/users/mojoaxel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mojoaxel/subscriptions","organizations_url":"https://api.github.com/users/mojoaxel/orgs","repos_url":"https://api.github.com/users/mojoaxel/repos","events_url":"https://api.github.com/users/mojoaxel/events{/privacy}","received_events_url":"https://api.github.com/users/mojoaxel/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":33,"state":"open","created_at":"2016-09-01T08:22:17Z","updated_at":"2016-10-28T11:09:00Z","due_on":"2016-11-06T00:00:00Z","closed_at":null},"comments":5,"created_at":"2016-09-21T00:51:43Z","updated_at":"2016-10-28T20:13:24Z","closed_at":null,"body":"Hi,\r\n\r\nI'm having strange problem. I'm using Graph2d to plot line charts with two y-axis (left and right). However I have problem with setting the max value for the right axis, please see this example:\r\nhttp://jsbin.com/zolewoqaxa/edit?js,output\r\n\r\nAdditionally, I don't know how to 'reset' max value to original approach. The reason for doing this is that for some small values, I want predefined max value (so axis is scaled nicely), but after some threshold I'd like to use default approach.\r\n\r\n--\r\nThanks,\r\nAdam"},"comment":{"url":"https://api.github.com/repos/almende/vis/issues/comments/257017172","html_url":"https://github.com/almende/vis/issues/2110#issuecomment-257017172","issue_url":"https://api.github.com/repos/almende/vis/issues/2110","id":257017172,"user":{"login":"mojoaxel","id":600565,"avatar_url":"https://avatars.githubusercontent.com/u/600565?v=3","gravatar_id":"","url":"https://api.github.com/users/mojoaxel","html_url":"https://github.com/mojoaxel","followers_url":"https://api.github.com/users/mojoaxel/followers","following_url":"https://api.github.com/users/mojoaxel/following{/other_user}","gists_url":"https://api.github.com/users/mojoaxel/gists{/gist_id}","starred_url":"https://api.github.com/users/mojoaxel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mojoaxel/subscriptions","organizations_url":"https://api.github.com/users/mojoaxel/orgs","repos_url":"https://api.github.com/users/mojoaxel/repos","events_url":"https://api.github.com/users/mojoaxel/events{/privacy}","received_events_url":"https://api.github.com/users/mojoaxel/received_events","type":"User","site_admin":false},"created_at":"2016-10-28T20:13:24Z","updated_at":"2016-10-28T20:13:24Z","body":"The problem only exists if two axes are enabled. Than one axes becomes the \"master\" and defines how many (major and minor) steps are in the y-axis-grid. The second axis has to fitted to this pre-defined grid. This \"fitting\" of this axis to the other one is done in the function [followScale](https://github.com/almende/vis/blob/develop/lib/timeline/component/DataScale.js#L134), as already mentions before by @Stexxen \r\n\r\nMaybe @ludost can help, who wrote this function!?"}}
{"actor":{"display_login":"mojoaxel"}}