Added highlighting of legend in pie charts

When hovering parts of a pie chart, the corresponding entry in the
legend is now highlighted.