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

on a curve which type isn't DataCurve. Re #7629
Merge branch 'feature/7629_no_context_menu' into develop