I have made one fiddle.. fiddle
I have added one function updater
function updater(yv,xv) {
switch(xv) {
case "0.00":
console.log("A");
$("#bb").html(yv);
$("tr: first").css("border","1px solid black");
break;
}
console.log(yv+", "+xv);
}
go through the fiddle and you will understand what all changes i made.. Just drag the 0% of the graph and u can see the table geting updated. I havent changed for other table values.