Legend is on global parameters not on page parameters 

@geekdenz can you review to be sure that I don't break your code :-)