added more examples for legend positioning