{"action":"created","issue":{"url":"https://api.github.com/repos/nvd3-community/nvd3/issues/99","repository_url":"https://api.github.com/repos/nvd3-community/nvd3","labels_url":"https://api.github.com/repos/nvd3-community/nvd3/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/nvd3-community/nvd3/issues/99/comments","events_url":"https://api.github.com/repos/nvd3-community/nvd3/issues/99/events","html_url":"https://github.com/nvd3-community/nvd3/issues/99","id":134956543,"number":99,"title":"Invert y axis in lineChart","user":{"login":"evanb2","id":11276439,"avatar_url":"https://avatars.githubusercontent.com/u/11276439?v=3","gravatar_id":"","url":"https://api.github.com/users/evanb2","html_url":"https://github.com/evanb2","followers_url":"https://api.github.com/users/evanb2/followers","following_url":"https://api.github.com/users/evanb2/following{/other_user}","gists_url":"https://api.github.com/users/evanb2/gists{/gist_id}","starred_url":"https://api.github.com/users/evanb2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evanb2/subscriptions","organizations_url":"https://api.github.com/users/evanb2/orgs","repos_url":"https://api.github.com/users/evanb2/repos","events_url":"https://api.github.com/users/evanb2/events{/privacy}","received_events_url":"https://api.github.com/users/evanb2/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-02-19T19:49:42Z","updated_at":"2016-07-03T13:21:09Z","closed_at":"2016-07-03T13:21:09Z","body":"So I finally was able to set the yAxis tickValues but now when I use yRange() to inverse it the ticks disappear, is there a better way of doing this? Or is there another setting I'm forgetting to add??\r\n\r\nHere's the relevant code:\r\n```javascript\r\nvar xLabels = [\"\", 250, 500, 750, 1000, 1500, 2000, 3000, 4000, 6000, 8000, 10000];\r\nvar yLabels = [-10, 0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120];\r\nvar chart = nv.models.lineChart()\r\n        .x(function (d) {\r\n            return d.Hz;\r\n        })\r\n        .y(function (d) {\r\n            return d.dB;\r\n        })\r\n        .showLegend(false)\r\n        .showYAxis(true)\r\n        .showXAxis(true);\r\nchart.forceY(yLabels);\r\nchart.forceX(xLabels);\r\nchart.yRange([0, 450]);\r\n\r\nchart.xAxis\r\n        .axisLabel('Frequency (Hz)')\r\n        .tickValues(xLabels)\r\n        .orient('top');\r\n\r\nchart.yAxis\r\n        .axisLabel('dB')\r\n        .tickValues(yLabels);\r\n```"},"comment":{"url":"https://api.github.com/repos/nvd3-community/nvd3/issues/comments/230153196","html_url":"https://github.com/nvd3-community/nvd3/issues/99#issuecomment-230153196","issue_url":"https://api.github.com/repos/nvd3-community/nvd3/issues/99","id":230153196,"user":{"login":"liquidpele","id":1065913,"avatar_url":"https://avatars.githubusercontent.com/u/1065913?v=3","gravatar_id":"","url":"https://api.github.com/users/liquidpele","html_url":"https://github.com/liquidpele","followers_url":"https://api.github.com/users/liquidpele/followers","following_url":"https://api.github.com/users/liquidpele/following{/other_user}","gists_url":"https://api.github.com/users/liquidpele/gists{/gist_id}","starred_url":"https://api.github.com/users/liquidpele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liquidpele/subscriptions","organizations_url":"https://api.github.com/users/liquidpele/orgs","repos_url":"https://api.github.com/users/liquidpele/repos","events_url":"https://api.github.com/users/liquidpele/events{/privacy}","received_events_url":"https://api.github.com/users/liquidpele/received_events","type":"User","site_admin":false},"created_at":"2016-07-03T13:21:09Z","updated_at":"2016-07-03T13:21:09Z","body":"Please open issues under novus/nvd3, thanks!"}}
{"actor":{"display_login":"liquidpele"}}