legend with filter