Template:Flot ffcp hg19: Difference between revisions
From FANTOM5_SSTAR
No edit summary |
No edit summary |
||
Line 24: | Line 24: | ||
grid: { hoverable: true, clickable: true }, | grid: { hoverable: true, clickable: true }, | ||
}); | }); | ||
$("#charthg19").bind("plotclick", function (event, pos, item) { | |||
if (item) { | |||
$smpl = series[item.datapoint[0].toFixed(0)]; | |||
$("#samplehg19").html('<a href="/resource_browser/index.php/FF:' + $smpl.split(".").pop() + '">' + $smpl +'</a>'); | |||
} | |||
}); | |||
}); | }); | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 10:46, 13 March 2012
CAGE Peaks (hg19)
Sample of clicked point: