{"action":"created","issue":{"url":"https://api.github.com/repos/i-schuetz/SwiftCharts/issues/66","labels_url":"https://api.github.com/repos/i-schuetz/SwiftCharts/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/i-schuetz/SwiftCharts/issues/66/comments","events_url":"https://api.github.com/repos/i-schuetz/SwiftCharts/issues/66/events","html_url":"https://github.com/i-schuetz/SwiftCharts/issues/66","id":121932593,"number":66,"title":"How to highlight cirlce in Show touch coords example?","user":{"login":"christinalau","id":5726085,"avatar_url":"https://avatars.githubusercontent.com/u/5726085?v=3","gravatar_id":"","url":"https://api.github.com/users/christinalau","html_url":"https://github.com/christinalau","followers_url":"https://api.github.com/users/christinalau/followers","following_url":"https://api.github.com/users/christinalau/following{/other_user}","gists_url":"https://api.github.com/users/christinalau/gists{/gist_id}","starred_url":"https://api.github.com/users/christinalau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christinalau/subscriptions","organizations_url":"https://api.github.com/users/christinalau/orgs","repos_url":"https://api.github.com/users/christinalau/repos","events_url":"https://api.github.com/users/christinalau/events{/privacy}","received_events_url":"https://api.github.com/users/christinalau/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-13T17:41:01Z","updated_at":"2015-12-14T00:32:57Z","closed_at":null,"body":"Hi, in the Show touch coords (interactive) example, how can I make the circle highlighted (i.e. selected) when there is a selection? Right now it is showing the line and co-ord but I just want the circle highlighted instead (to keep it simple).\r\n\r\nI noticed that in Areas,line,circles example, the circle is highlighted but I didn't want to have text inside.\r\n\r\nSo I am a little unsure what classes to use to accomplish the simple scenario. Thanks a lot for your help."},"comment":{"url":"https://api.github.com/repos/i-schuetz/SwiftCharts/issues/comments/164314535","html_url":"https://github.com/i-schuetz/SwiftCharts/issues/66#issuecomment-164314535","issue_url":"https://api.github.com/repos/i-schuetz/SwiftCharts/issues/66","id":164314535,"user":{"login":"i-schuetz","id":1381744,"avatar_url":"https://avatars.githubusercontent.com/u/1381744?v=3","gravatar_id":"","url":"https://api.github.com/users/i-schuetz","html_url":"https://github.com/i-schuetz","followers_url":"https://api.github.com/users/i-schuetz/followers","following_url":"https://api.github.com/users/i-schuetz/following{/other_user}","gists_url":"https://api.github.com/users/i-schuetz/gists{/gist_id}","starred_url":"https://api.github.com/users/i-schuetz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/i-schuetz/subscriptions","organizations_url":"https://api.github.com/users/i-schuetz/orgs","repos_url":"https://api.github.com/users/i-schuetz/repos","events_url":"https://api.github.com/users/i-schuetz/events{/privacy}","received_events_url":"https://api.github.com/users/i-schuetz/received_events","type":"User","site_admin":false},"created_at":"2015-12-14T00:32:57Z","updated_at":"2015-12-14T00:32:57Z","body":"I think you can adjust the [circleViewGenerator](https://github.com/i-schuetz/SwiftCharts/blob/master/Examples/Examples/CoordsExample.swift#L77) to handle the touches itself. You can pass a touchHandler block to ChartPointEllipseView. In this handler you would have access to ChartPointEllipseView to change its colors. Then you also don't need the [touchViewsGenerator](https://github.com/i-schuetz/SwiftCharts/blob/master/Examples/Examples/CoordsExample.swift#L61). \r\n\r\nI'm not sure if the tap area of ChartPointEllipseView will be sufficient, if not you could return a HandlingView in circleViewGenerator (instead of ChartPointEllipseView) with a slightly bigger area than the circles. You would add then ChartPointEllipseView as a subview of this bigger view.\r\n\r\n"}}