{"action":"created","issue":{"url":"https://api.github.com/repos/keen/keen-js/issues/233","labels_url":"https://api.github.com/repos/keen/keen-js/issues/233/labels{/name}","comments_url":"https://api.github.com/repos/keen/keen-js/issues/233/comments","events_url":"https://api.github.com/repos/keen/keen-js/issues/233/events","html_url":"https://github.com/keen/keen-js/issues/233","id":57362988,"number":233,"title":"Docs mention that calling .labels() will change x-axis names, but it doesn't when library is c3","user":{"login":"nemo","id":1082310,"avatar_url":"https://avatars.githubusercontent.com/u/1082310?v=3","gravatar_id":"","url":"https://api.github.com/users/nemo","html_url":"https://github.com/nemo","followers_url":"https://api.github.com/users/nemo/followers","following_url":"https://api.github.com/users/nemo/following{/other_user}","gists_url":"https://api.github.com/users/nemo/gists{/gist_id}","starred_url":"https://api.github.com/users/nemo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nemo/subscriptions","organizations_url":"https://api.github.com/users/nemo/orgs","repos_url":"https://api.github.com/users/nemo/repos","events_url":"https://api.github.com/users/nemo/events{/privacy}","received_events_url":"https://api.github.com/users/nemo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-11T19:18:37Z","updated_at":"2015-02-12T01:56:17Z","closed_at":null,"body":"Looks like labels function doesn't work on c3 charts.\r\n\r\nHad to manually use chartOptions to set axis.x.categories.\r\n\r\n**Described in the docs (the \"right\" way)**\r\n\r\n```javascript\r\nchart.labels([\r\n     \"Visited Page\",\r\n     \"Signed Up\"\r\n  ])\r\n```\r\nNote: this doesn't work :(\r\n\r\n**Current Solution (the ugly way)**\r\n```javascript\r\nchart.chartOptions({\r\n    axis: {\r\n      x: {\r\n        type: \"category\",\r\n        categories: [\r\n          \"Visited Website\",\r\n          \"Signed Up\"\r\n        ]\r\n      }\r\n    }\r\n  })\r\n```"},"comment":{"url":"https://api.github.com/repos/keen/keen-js/issues/comments/74003953","html_url":"https://github.com/keen/keen-js/issues/233#issuecomment-74003953","issue_url":"https://api.github.com/repos/keen/keen-js/issues/233","id":74003953,"user":{"login":"dustinlarimer","id":180438,"avatar_url":"https://avatars.githubusercontent.com/u/180438?v=3","gravatar_id":"","url":"https://api.github.com/users/dustinlarimer","html_url":"https://github.com/dustinlarimer","followers_url":"https://api.github.com/users/dustinlarimer/followers","following_url":"https://api.github.com/users/dustinlarimer/following{/other_user}","gists_url":"https://api.github.com/users/dustinlarimer/gists{/gist_id}","starred_url":"https://api.github.com/users/dustinlarimer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dustinlarimer/subscriptions","organizations_url":"https://api.github.com/users/dustinlarimer/orgs","repos_url":"https://api.github.com/users/dustinlarimer/repos","events_url":"https://api.github.com/users/dustinlarimer/events{/privacy}","received_events_url":"https://api.github.com/users/dustinlarimer/received_events","type":"User","site_admin":false},"created_at":"2015-02-12T01:56:17Z","updated_at":"2015-02-12T01:56:17Z","body":"@nemo sorry that's not working either.. want to give me a shout 1:1 so I can check out a sample w/ your API info? dustin@keen.io"}}