-
Notifications
You must be signed in to change notification settings - Fork 526
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tooltip for only first stack bar? #136
Comments
Is there any plan to work on this issue? Just to plan my flotr2 working for next months ;) Thank you guys! |
I am going to need this feature fixed for stacked bars somewhat soon. Currently, it sort of works for me. Currently, it tracks the mouse like I'm not using stacked bars, and it's not highlighting anything. The source code has this line under drawHit for bars: "// TODO hits for stacked bars; implement using calculateStack option?". I've tried to work on a fix, but I can't find what is calling the hit function. |
It's in a plugin: js/plugins/hit.js I eventually want to change the entire API for drawing hits, but for now On Tue, Aug 14, 2012 at 4:57 PM, jbo5112 notifications@github.com wrote:
|
Hi, Is there any new information related to this issue? |
Hi, Yes, we use both stacked and non stacked graphs, with multiple series and the mouse/hit plugin. Let me know if we can help in anyway. edit: oops, I was actually answering your question on #234, I picked the wrong tab, sorry :) |
Got it. We'll need to implement the hit method in lines to consider a -Carl On Tue, Aug 13, 2013 at 6:05 AM, Jehan-Guillaume (ioguix) de Rorthais <
|
I can give it a try if you have some more pointers and tips so I can mess with the code quickly. |
Here's another example: hit checks for a hit, drawHit draws the highlight, clearHit clears it. I think actually this notion of stacked should go into the hit plugin On Tue, Aug 13, 2013 at 11:48 AM, Jehan-Guillaume (ioguix) de Rorthais <
|
Did you managed to fix this? I have similar issue for grouped bar charts. |
Hi, I finally took time to work on this. So far, I only have a fix proposal with 'lines' type. Here is the diff: I just add the stack offset in data series as third value (so we have (x,y,offset)) for stacked lines and use it in the hit.closest method. If you are ok with this solution, I'll do a push request. edit: I just found I forgot some commented code, I'll remove them before the push request. |
See HumbleSoftware/Flotr2#136 (comment) for the discussion about this bug.
See HumbleSoftware/Flotr2#136 (comment) for the discussion about this bug.
It seems that bug with stacked bars and mouse hints still exists |
Hi, I'm playing with mouse tracking of values and it works like a
charm, except when I apply it to stacked bars, in that case it just
tracks the first bars values.
You can see a fiddle with the example here:
http://jsfiddle.net/Rude/5VML5/2/
Is there a way of tracking individual bars when stacked?
The text was updated successfully, but these errors were encountered: