add tooltips for graph