more interactivity with legend data binding