{"action":"created","issue":{"url":"https://api.github.com/repos/novus/nvd3/issues/1047","labels_url":"https://api.github.com/repos/novus/nvd3/issues/1047/labels{/name}","comments_url":"https://api.github.com/repos/novus/nvd3/issues/1047/comments","events_url":"https://api.github.com/repos/novus/nvd3/issues/1047/events","html_url":"https://github.com/novus/nvd3/issues/1047","id":78600337,"number":1047,"title":"chart.interactiveLayer.tooltip.chartContainer() Not Functional?","user":{"login":"iamwillburn","id":12532470,"avatar_url":"https://avatars.githubusercontent.com/u/12532470?v=3","gravatar_id":"","url":"https://api.github.com/users/iamwillburn","html_url":"https://github.com/iamwillburn","followers_url":"https://api.github.com/users/iamwillburn/followers","following_url":"https://api.github.com/users/iamwillburn/following{/other_user}","gists_url":"https://api.github.com/users/iamwillburn/gists{/gist_id}","starred_url":"https://api.github.com/users/iamwillburn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamwillburn/subscriptions","organizations_url":"https://api.github.com/users/iamwillburn/orgs","repos_url":"https://api.github.com/users/iamwillburn/repos","events_url":"https://api.github.com/users/iamwillburn/events{/privacy}","received_events_url":"https://api.github.com/users/iamwillburn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-20T16:42:44Z","updated_at":"2015-05-20T16:51:32Z","closed_at":null,"body":"I have a line chart which is contained in a div with overflow-x set to hidden.\r\n\r\nAs a result the tooltip is clipped when the mouse is hovering over the right edge of the chart.\r\n\r\nI tried the following in the hope that it would cause the tooltip to see the container as the bounding area, but it had no effect (I can only assume I'm doing something incorrect, #mainChart is certainly not clipped by the overflow: hidden):\r\n```\r\nchart.interactiveLayer.tooltip.chartContainer(d3.select('#mainChart'))\r\n```\r\n\r\nAny help would be greatly appreciated."},"comment":{"url":"https://api.github.com/repos/novus/nvd3/issues/comments/103956910","html_url":"https://github.com/novus/nvd3/issues/1047#issuecomment-103956910","issue_url":"https://api.github.com/repos/novus/nvd3/issues/1047","id":103956910,"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":"2015-05-20T16:51:32Z","updated_at":"2015-05-20T16:51:32Z","body":"Yea, it probably gets overwritten again.  For instance, if you look in the lineChart.js model, you see:\r\n\r\n                interactiveLayer.tooltip\r\n                    .position({left: e.mouseX + margin.left, top: e.mouseY + margin.top})\r\n                    .chartContainer(that.parentNode)\r\n                    etc etc etc\r\n\r\n"}}