-
vizulyApril 18, 2018 at 11:34 am #9474
Hello,
You will want to modify this routine in the weightedtree_test.js file. The key change is this line:
y = y + window.pageYOffest; function createDataTip(x,y,h1,h2,h3) { var html = datatip.replace("HEADER1", h1); html = html.replace("HEADER2", h2); html = html.replace("HEADER3", h3); y = y + window.pageYOffset; d3.select("body") .append("div") .attr("class", "vz-weighted_tree-tip") .style("position", "absolute") .style("top", y + "px") .style("left", (x - 125) + "px") .style("opacity",0) .html(html) .transition().style("opacity",1); }
Cheers,
Tom
You must be logged in to reply to this topic.
© 2024 — vizuly.io