How to customize the Grafana Graph Tooltip and Legend


I want to add additional information in the tooltip e.g. if my tooltip is showing “Speed: 10” then I want to append the unit to the value → “Speed: 10 m/s”.

Similarly in the legend also I want to add the units.

I couldn’t find any parameter in the Legend and Tooltip options of the Panel which can be configured.

Is there any other way to achieve it?