Add functionality

Sorry for the wait. No unfortunately, there’s no easy way to tell which bar element is being clicked on at the moment.

Basically, the click event data mimics the data being shown in the hover labels. So, in your case, the click event points have length 3.