Modified pie chart example to take onItemClick