Unified key highlighting and added callbacks

The way in which keys are highlighted has been unified between the
pie and bar charts and clicking on the key now results in a callback
function being called
Changed callbacks to both hover and click events

Hovering over or clicking on the key will now trigger events