Show graph's context menu instead of curve's one on right click

on a curve which type isn't DataCurve. Re #7629
Merge remote-tracking branch 'origin/feature/7629_no_context_menu'