{"action":"opened","issue":{"url":"https://api.github.com/repos/twosigma/beakerx/issues/6926","repository_url":"https://api.github.com/repos/twosigma/beakerx","labels_url":"https://api.github.com/repos/twosigma/beakerx/issues/6926/labels{/name}","comments_url":"https://api.github.com/repos/twosigma/beakerx/issues/6926/comments","events_url":"https://api.github.com/repos/twosigma/beakerx/issues/6926/events","html_url":"https://github.com/twosigma/beakerx/issues/6926","id":301809240,"number":6926,"title":"onClick of CombinedPlot broken","user":{"login":"scottdraves","id":963093,"avatar_url":"https://avatars0.githubusercontent.com/u/963093?v=4","gravatar_id":"","url":"https://api.github.com/users/scottdraves","html_url":"https://github.com/scottdraves","followers_url":"https://api.github.com/users/scottdraves/followers","following_url":"https://api.github.com/users/scottdraves/following{/other_user}","gists_url":"https://api.github.com/users/scottdraves/gists{/gist_id}","starred_url":"https://api.github.com/users/scottdraves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottdraves/subscriptions","organizations_url":"https://api.github.com/users/scottdraves/orgs","repos_url":"https://api.github.com/users/scottdraves/repos","events_url":"https://api.github.com/users/scottdraves/events{/privacy}","received_events_url":"https://api.github.com/users/scottdraves/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-02T15:43:43Z","updated_at":"2018-03-02T15:43:43Z","closed_at":null,"author_association":"MEMBER","body":"```\r\ndef xs = (1..5)\r\ndef cplot = new CombinedPlot(initWidth: 800)\r\ndef random = new Random()\r\ndef p1 = new Plot(useToolTip: false);\r\np1 << new Line(x: xs, y: [5, 3, 7, 4, 5], width: 4).onClick({info -> info.graphics.y[1] = random.nextInt(10)})\r\ncplot.add(p1, 2)\r\ndef p2 = new Plot(title: \"Bars\", useToolTip: false)\r\np2 << new Bars(x: xs, y: [3, 5, 2, 3, 7], outlineColor: Color.black, width: 0.3).onClick({info -> info.graphics.y[info.index]++})\r\ncplot.add(p2, 3)\r\ncplot\r\n```"}}
{"actor":{"display_login":"scottdraves"}}