Graphs value popup 

When cursor is near the right edge of the window value of the popup is not visible. 
This change makes the popup to appear at the left side of the cursor when it reaches the right edge.