Implemented right side legends