Allow legend to handle multiple criteria