Hey @Juie,
It’s a little bit tricky envisioning your data source etc. without a full runnable example, but I think your problem might be made much easier by organizing your data into a ColumnDataSource (or at least a pandas DataFrame) first. If you had a CDS or DataFrame set up like this:
CMA_Total | CMA_Used | Swap_Total | Swap_Used | Mem_Total | Mem_Used |
---|---|---|---|---|---|
10 | 3.386 | x | y | a | b |
Then the HoverTool might be set up similar to the way you have it:
cma_hover = HoverTool(tooltips=[("Total:", "@CMA_Total"), ("Used:", "@CMA_Used")])
And you can specify which glyph the Hovertool will apply to.
I hope that’s a nudge in the right direction, but if it won’t work with your data, try creating and posting a Minimal Reproducible Example (with data as required) so that someone could copy and paste and test it locally.