changing to flotr2 library for plotting the bar
select result table row on click