{"action":"created","issue":{"url":"https://api.github.com/repos/bokeh/bokeh/issues/3642","labels_url":"https://api.github.com/repos/bokeh/bokeh/issues/3642/labels{/name}","comments_url":"https://api.github.com/repos/bokeh/bokeh/issues/3642/comments","events_url":"https://api.github.com/repos/bokeh/bokeh/issues/3642/events","html_url":"https://github.com/bokeh/bokeh/issues/3642","id":126315975,"number":3642,"title":"Scaling Line HoverTool","user":{"login":"AlJohri","id":2790092,"avatar_url":"https://avatars.githubusercontent.com/u/2790092?v=3","gravatar_id":"","url":"https://api.github.com/users/AlJohri","html_url":"https://github.com/AlJohri","followers_url":"https://api.github.com/users/AlJohri/followers","following_url":"https://api.github.com/users/AlJohri/following{/other_user}","gists_url":"https://api.github.com/users/AlJohri/gists{/gist_id}","starred_url":"https://api.github.com/users/AlJohri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlJohri/subscriptions","organizations_url":"https://api.github.com/users/AlJohri/orgs","repos_url":"https://api.github.com/users/AlJohri/repos","events_url":"https://api.github.com/users/AlJohri/events{/privacy}","received_events_url":"https://api.github.com/users/AlJohri/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-13T01:05:54Z","updated_at":"2016-01-13T01:44:27Z","closed_at":null,"body":"Hi, I'm trying to use the HoverTool on the line glyph as per the example shown here: https://github.com/bokeh/bokeh/blob/master/examples/glyphs/glyphs.py\r\n\r\nI'm trying to display about 100 lines of timeseries data where each line has maybe 20-30 points. Essentially, I would like to be able to identify the labels for each line and don't care about the value at each point.\r\n\r\nI understand the code is currently calculating the x and y value of the nearest point or interpolating a point somewhere on the line but this doesn't seem to scale for more than like 5 or 6 lines.\r\n\r\nIs there anyway to disable this functionality and make it do something more similar to the LineLabelTooltip  from mpld3?\r\n\r\nhttp://mpld3.github.io/modules/API.html#mpld3.plugins.LineLabelTooltip"},"comment":{"url":"https://api.github.com/repos/bokeh/bokeh/issues/comments/171126042","html_url":"https://github.com/bokeh/bokeh/issues/3642#issuecomment-171126042","issue_url":"https://api.github.com/repos/bokeh/bokeh/issues/3642","id":171126042,"user":{"login":"AlJohri","id":2790092,"avatar_url":"https://avatars.githubusercontent.com/u/2790092?v=3","gravatar_id":"","url":"https://api.github.com/users/AlJohri","html_url":"https://github.com/AlJohri","followers_url":"https://api.github.com/users/AlJohri/followers","following_url":"https://api.github.com/users/AlJohri/following{/other_user}","gists_url":"https://api.github.com/users/AlJohri/gists{/gist_id}","starred_url":"https://api.github.com/users/AlJohri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlJohri/subscriptions","organizations_url":"https://api.github.com/users/AlJohri/orgs","repos_url":"https://api.github.com/users/AlJohri/repos","events_url":"https://api.github.com/users/AlJohri/events{/privacy}","received_events_url":"https://api.github.com/users/AlJohri/received_events","type":"User","site_admin":false},"created_at":"2016-01-13T01:44:27Z","updated_at":"2016-01-13T01:44:27Z","body":"Yup @bryevdv sorry for the vagueness. I'll try to work towards a minimal complete example soon. Here is what I can show you for now: \r\n\r\nhttp://nbviewer.ipython.org/urls/dl.dropboxusercontent.com/u/2623300/bokehtest.ipynb\r\n\r\nThe page takes about 5-10 seconds to completely load. If you scroll down to \"Plot the trajectory of social counts for a random article.\"\r\n\r\nYou can see my Bokeh example using the HoverTool with 5 random articles (takes about 2.87 seconds and its rather slow going from line to to line).\r\n\r\nAnd you can see the mpld3 example which is a bit faster (but also it seems the hovering is a bit less accurate).\r\n\r\nWhat I expect to happen: The computation of the tooltip should be fast and not care about the points, (x,y) location, index. It should be able to display the label of 100+ lines rather easily. This isn't quite big data.\r\n\r\nWhat is actually happening: I honestly don't know enough detail to say what's happening. As I stated above, I hypothesize that this has something to do with being point tooltips as opposed to a true line tooltip but I could be mistaken.\r\n\r\nI'll work towards a minimal example soon."}}