Is there a way to install a on click or double click handler for the legend items. I can't see an example. Thanks