{"action":"created","issue":{"url":"https://api.github.com/repos/gionkunz/chartist-js/issues/435","repository_url":"https://api.github.com/repos/gionkunz/chartist-js","labels_url":"https://api.github.com/repos/gionkunz/chartist-js/issues/435/labels{/name}","comments_url":"https://api.github.com/repos/gionkunz/chartist-js/issues/435/comments","events_url":"https://api.github.com/repos/gionkunz/chartist-js/issues/435/events","html_url":"https://github.com/gionkunz/chartist-js/pull/435","id":104895055,"number":435,"title":"Add scale (lin, log) option to AutoScaleAxis","user":{"login":"hansmaad","id":3396747,"avatar_url":"https://avatars.githubusercontent.com/u/3396747?v=3","gravatar_id":"","url":"https://api.github.com/users/hansmaad","html_url":"https://github.com/hansmaad","followers_url":"https://api.github.com/users/hansmaad/followers","following_url":"https://api.github.com/users/hansmaad/following{/other_user}","gists_url":"https://api.github.com/users/hansmaad/gists{/gist_id}","starred_url":"https://api.github.com/users/hansmaad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hansmaad/subscriptions","organizations_url":"https://api.github.com/users/hansmaad/orgs","repos_url":"https://api.github.com/users/hansmaad/repos","events_url":"https://api.github.com/users/hansmaad/events{/privacy}","received_events_url":"https://api.github.com/users/hansmaad/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-09-04T13:51:26Z","updated_at":"2016-03-25T19:57:46Z","closed_at":"2016-03-18T12:54:12Z","pull_request":{"url":"https://api.github.com/repos/gionkunz/chartist-js/pulls/435","html_url":"https://github.com/gionkunz/chartist-js/pull/435","diff_url":"https://github.com/gionkunz/chartist-js/pull/435.diff","patch_url":"https://github.com/gionkunz/chartist-js/pull/435.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/gionkunz/chartist-js/issues/comments/201461251","html_url":"https://github.com/gionkunz/chartist-js/pull/435#issuecomment-201461251","issue_url":"https://api.github.com/repos/gionkunz/chartist-js/issues/435","id":201461251,"user":{"login":"jacobq","id":1633459,"avatar_url":"https://avatars.githubusercontent.com/u/1633459?v=3","gravatar_id":"","url":"https://api.github.com/users/jacobq","html_url":"https://github.com/jacobq","followers_url":"https://api.github.com/users/jacobq/followers","following_url":"https://api.github.com/users/jacobq/following{/other_user}","gists_url":"https://api.github.com/users/jacobq/gists{/gist_id}","starred_url":"https://api.github.com/users/jacobq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacobq/subscriptions","organizations_url":"https://api.github.com/users/jacobq/orgs","repos_url":"https://api.github.com/users/jacobq/repos","events_url":"https://api.github.com/users/jacobq/events{/privacy}","received_events_url":"https://api.github.com/users/jacobq/received_events","type":"User","site_admin":false},"created_at":"2016-03-25T19:57:46Z","updated_at":"2016-03-25T19:57:46Z","body":"I've been reviewing your implementation of log-scaled axis today and have a few thoughts / questions I'd like to raise for discussion:\r\n* Why is this functionality specific to `AutoScaleAxis`? It seems to me that one might just as well want to have a `FixedScaleAxis` with non-linear proportions. \r\n* Instead of adding a specially-formatted string as the `scale` property, wouldn't it be simpler to just allow the user to supply a mapping/translation function? Chartist could just implement a default `(x) => { return x; }` linear/identity function, which the user could override. This seems in keeping with the goal of being lightweight. It also avoids constraining the user to the typical cases of log2 and log10; they could easily use natural logarithm instead, for example.\r\n![mapping-functions](https://cloud.githubusercontent.com/assets/1633459/14052338/8053ee94-f297-11e5-85d8-e3fc32183abe.png)\r\n* You mentioned that you have some concerns with this experimental implementation (i.e. that t is a \"hack\" rather than a good solution). Would you mind elaborating a bit more about what you'd like to see improved? (For example, does it feel like this code doesn't belong here? Is this code difficult to test? etc.)\r\n"}}