{"action":"created","issue":{"url":"https://api.github.com/repos/recharts/recharts/issues/1178","repository_url":"https://api.github.com/repos/recharts/recharts","labels_url":"https://api.github.com/repos/recharts/recharts/issues/1178/labels{/name}","comments_url":"https://api.github.com/repos/recharts/recharts/issues/1178/comments","events_url":"https://api.github.com/repos/recharts/recharts/issues/1178/events","html_url":"https://github.com/recharts/recharts/issues/1178","id":295049116,"number":1178,"title":"wrong tooltip label if I don't use x-axis","user":{"login":"mayacode","id":952356,"avatar_url":"https://avatars1.githubusercontent.com/u/952356?v=4","gravatar_id":"","url":"https://api.github.com/users/mayacode","html_url":"https://github.com/mayacode","followers_url":"https://api.github.com/users/mayacode/followers","following_url":"https://api.github.com/users/mayacode/following{/other_user}","gists_url":"https://api.github.com/users/mayacode/gists{/gist_id}","starred_url":"https://api.github.com/users/mayacode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mayacode/subscriptions","organizations_url":"https://api.github.com/users/mayacode/orgs","repos_url":"https://api.github.com/users/mayacode/repos","events_url":"https://api.github.com/users/mayacode/events{/privacy}","received_events_url":"https://api.github.com/users/mayacode/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-07T08:38:26Z","updated_at":"2018-04-25T17:36:32Z","closed_at":null,"author_association":"NONE","body":"## Do you want to request a feature or report a bug?\r\n\r\nbug\r\n\r\n## What is the current behavior?\r\n\r\nIf I don't use x-axis with defined data source tooltip displays wrong label\r\n\r\n## If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar (template: http://jsfiddle.net/ndLhnegs/).\r\n\r\nhttp://jsfiddle.net/ndLhnegs/709/\r\n\r\n## What is the expected behavior?\r\n\r\nI would like to have an option to define data source for tooltip label, even if x-axis is not in use\r\n\r\n## Which versions of Recharts, and which browser / OS are affected by this issue? Did this work in previous versions of Recharts?\r\n\r\nnewest version (`\"recharts\": \"^1.0.0-beta.10\",`), I didn't work with previous versions of recharts\r\n"},"comment":{"url":"https://api.github.com/repos/recharts/recharts/issues/comments/384371247","html_url":"https://github.com/recharts/recharts/issues/1178#issuecomment-384371247","issue_url":"https://api.github.com/repos/recharts/recharts/issues/1178","id":384371247,"user":{"login":"brianjp93","id":6699899,"avatar_url":"https://avatars1.githubusercontent.com/u/6699899?v=4","gravatar_id":"","url":"https://api.github.com/users/brianjp93","html_url":"https://github.com/brianjp93","followers_url":"https://api.github.com/users/brianjp93/followers","following_url":"https://api.github.com/users/brianjp93/following{/other_user}","gists_url":"https://api.github.com/users/brianjp93/gists{/gist_id}","starred_url":"https://api.github.com/users/brianjp93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianjp93/subscriptions","organizations_url":"https://api.github.com/users/brianjp93/orgs","repos_url":"https://api.github.com/users/brianjp93/repos","events_url":"https://api.github.com/users/brianjp93/events{/privacy}","received_events_url":"https://api.github.com/users/brianjp93/received_events","type":"User","site_admin":false},"created_at":"2018-04-25T17:36:32Z","updated_at":"2018-04-25T17:36:32Z","author_association":"NONE","body":"I was able to fix this by adding the XAxis, but then hiding it.\r\n\r\n```jsx\r\n<XAxis hide={true} dataKey='name' />\r\n```"}}
{"actor":{"display_login":"brianjp93"}}