{"action":"created","issue":{"url":"https://api.github.com/repos/novus/nvd3/issues/840","labels_url":"https://api.github.com/repos/novus/nvd3/issues/840/labels{/name}","comments_url":"https://api.github.com/repos/novus/nvd3/issues/840/comments","events_url":"https://api.github.com/repos/novus/nvd3/issues/840/events","html_url":"https://github.com/novus/nvd3/issues/840","id":59726326,"number":840,"title":"Can't set chart.yAxis.tickFormat() in stackedAreaChart","user":{"login":"kreidles","id":3650365,"avatar_url":"https://avatars.githubusercontent.com/u/3650365?v=3","gravatar_id":"","url":"https://api.github.com/users/kreidles","html_url":"https://github.com/kreidles","followers_url":"https://api.github.com/users/kreidles/followers","following_url":"https://api.github.com/users/kreidles/following{/other_user}","gists_url":"https://api.github.com/users/kreidles/gists{/gist_id}","starred_url":"https://api.github.com/users/kreidles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kreidles/subscriptions","organizations_url":"https://api.github.com/users/kreidles/orgs","repos_url":"https://api.github.com/users/kreidles/repos","events_url":"https://api.github.com/users/kreidles/events{/privacy}","received_events_url":"https://api.github.com/users/kreidles/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"robinfhu","id":3769532,"avatar_url":"https://avatars.githubusercontent.com/u/3769532?v=3","gravatar_id":"","url":"https://api.github.com/users/robinfhu","html_url":"https://github.com/robinfhu","followers_url":"https://api.github.com/users/robinfhu/followers","following_url":"https://api.github.com/users/robinfhu/following{/other_user}","gists_url":"https://api.github.com/users/robinfhu/gists{/gist_id}","starred_url":"https://api.github.com/users/robinfhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robinfhu/subscriptions","organizations_url":"https://api.github.com/users/robinfhu/orgs","repos_url":"https://api.github.com/users/robinfhu/repos","events_url":"https://api.github.com/users/robinfhu/events{/privacy}","received_events_url":"https://api.github.com/users/robinfhu/received_events","type":"User","site_admin":false},"milestone":null,"comments":9,"created_at":"2015-03-03T23:41:58Z","updated_at":"2015-05-22T01:18:17Z","closed_at":"2015-03-04T16:03:43Z","body":"First, thanks for writing nvd3 - it's a great product!\r\n\r\nUnfortunately, I ran into a problem with version 1.7.1.  I'm creating a stackedAreaChart as follows:\r\n\r\n            var chart;\r\n            nv.addGraph(function() {\r\n                chart = nv.models.stackedAreaChart()\r\n                    .margin({right: 100})\r\n                    .useInteractiveGuideline(true)\r\n                    .x(function(d) { return $scope.formatMonth.parse(d[0]); })\r\n                    .y(function(d) { return d[1] })\r\n                    .rightAlignYAxis(true)\r\n                    .controlLabels({stacked: \"Stacked\"})\r\n                    .duration(500);\r\n\r\n                chart.xAxis.tickFormat(function(d) { return d3.time.format('%b, %Y')(new Date(d)) });\r\n                chart.yAxis.tickFormat(d3.format(',.2s'));\r\n\r\n                chart.color([\"#003950\", \"#698B22\", \"#B4CDCD\", \"#4C4322\", \"#B45B49\", \"#E59138\", \"#CDCDC1\", \"#FFA812\", \"#8E2323\"]);\r\n\r\n                d3.select('#chart svg')\r\n                    .datum(data)\r\n                    .call(chart);\r\n\r\n                nv.utils.windowResize(chart.update);\r\n                return chart;\r\n            });\r\n\r\n\r\nThe chart displays fine and the xAxis is correct.  However, the tick formats do not change on the Y-axis.  I can change the format by  editing the nv.d3.js file on line 10865:\r\n\r\n        , yAxisTickFormat = d3.format(',.2f')\r\n       \r\nI can't find a way to update this value through the api though.  Any help is appreciated.\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/novus/nvd3/issues/comments/104469304","html_url":"https://github.com/novus/nvd3/issues/840#issuecomment-104469304","issue_url":"https://api.github.com/repos/novus/nvd3/issues/840","id":104469304,"user":{"login":"luisrudge","id":941075,"avatar_url":"https://avatars.githubusercontent.com/u/941075?v=3","gravatar_id":"","url":"https://api.github.com/users/luisrudge","html_url":"https://github.com/luisrudge","followers_url":"https://api.github.com/users/luisrudge/followers","following_url":"https://api.github.com/users/luisrudge/following{/other_user}","gists_url":"https://api.github.com/users/luisrudge/gists{/gist_id}","starred_url":"https://api.github.com/users/luisrudge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luisrudge/subscriptions","organizations_url":"https://api.github.com/users/luisrudge/orgs","repos_url":"https://api.github.com/users/luisrudge/repos","events_url":"https://api.github.com/users/luisrudge/events{/privacy}","received_events_url":"https://api.github.com/users/luisrudge/received_events","type":"User","site_admin":false},"created_at":"2015-05-22T01:18:17Z","updated_at":"2015-05-22T01:18:17Z","body":"where's the pre release tag?"}}