I am using the flot jquery graphing library.
Looking at online examples I am able to use plothover to display a tool tip whenever I hover over a paticular point. However my graph has multiple series. And I want the tooltip to display data values for all series on the selected x coordinate. Any suggestions on how to do this?
I am using the flot jquery graphing library. Looking at online examples I am
Share
You can use the
item.dataIndexproperty in yourplothoverhandler.It’s the X coordinate of the selected point, and you can use that to get the Y coordinate from the other series.
DEMO