test for legend hiding
TODO multiple selection