Change position of legenda for common graph