Filter legend value if float