Closed seniDEac closed 8 years ago
Hi seniDEac, first of all, in the future, use some online JS editor to present example of your code, i.e. https://jsfiddle.net/
and I also don't fully understand your questions, but let's try:
- how to put this "tooltips" only in the "flag Series getRandomData3()"?
tooltip is defined per chart, not per series, but I think you can try to use onHover
callback, check over which series your mouse is, and disable tooltip then (but I never tried it)
- how to always show this "tooltips"(getRandomData3())? (not only when the mouse is over, but all the time)?
there is no such a functionality, I think then it wouldn't be called tooltip. but feel free to add it and send me back your pull request
- how to get personalized "labels" with for exemple "on/off" button or "-/+" button or more "flag button "?
I'm not sure what do you mean by labels, but you can use content
to specify what appears on tooltip, that can be also a function function(label, xval, yval, flotItem)
, check the documentation https://github.com/krzysu/flot.tooltip#plugin-options
also source code of this tooltip plugin is quite easy, so you can just dig inside, modify, debug, do whatever you want :)
have fun! Kris
I have this project that needs FlotGraphics (and tooltips), and I just can't figure it out, how to adjust its to my code, because as a newbee trying o study all of this, just get pour information from the friend google.
My graph is in real time, mimetizing one EGC, (a heart beat). My question is in 3 parts:
I realy apreciate any help ou tips. Thanks
here is my example, which I am working on:
Thanks,