Commit d21e6801 authored by arturo's avatar arturo

>>> continue

parent 6fa1c9d7
...@@ -364,9 +364,15 @@ function drawPhylo(branches, periods, groups, links, aLinks, bLinks, frame) { ...@@ -364,9 +364,15 @@ function drawPhylo(branches, periods, groups, links, aLinks, bLinks, frame) {
.style("fill","#0d1824") .style("fill","#0d1824")
.attr("visibility","visible") .attr("visibility","visible")
.text("▲") .text("▲")
.on("mouseover", peakOver) .on("mouseover", function(e, b) {
.on("mouseout", peakOut) peakOver(b, b.bId);
.on("click", peakClick); })
.on("mouseout", function(e, b) {
peakOut(b, b.bId);
})
.on("click", function(e, b) {
peakClick(b, b.bId);
});
/* *** draw the phylo *** */ /* *** draw the phylo *** */
...@@ -578,7 +584,9 @@ function drawPhylo(branches, periods, groups, links, aLinks, bLinks, frame) { ...@@ -578,7 +584,9 @@ function drawPhylo(branches, periods, groups, links, aLinks, bLinks, frame) {
// https://observablehq.com/@d3/parallel-coordinates // https://observablehq.com/@d3/parallel-coordinates
d3.select("#label").on("click",showLabel); d3.select("#label").on("click", function(e, l) {
showLabel(l);
});
function autocomplete(e) { function autocomplete(e) {
var txt = e.target.value; var txt = e.target.value;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment