In JavaScript I am using click event to change chart data. Below is a method for click event.
$(\'#pro1\').click(function () { chart.series[0].up
Use a class.
$('.pro').click(function () { chart.series[0].update({ data: $(this).attr('id'); }); });
And then on each of the #pro1, #pro2, #pro3 elements add a class of 'pro'