Question: phylotree.js d3 SVG size not what I wanted upon page load
gravatar for lubw06
14 days ago by
lubw0610 wrote:

Hi All,

I am adopting phylotree.js for the display of similar compounds. Currently I am having an issue to display the tree in proper SVG size upon initial page load. Please see the link below:

I am setting the width of the SVG to be 800 px and the height 600 px. However, upon page load, the width is 304 px and height is 517 px.

Anyone has a clue of why the SVG dimension changed? How can I force it to display in 800 x 600?

Strangely, if I click on any of the buttons above the tree, the SVG dimension will become approximately 800 x 600.

Thanks a lot.

svg phylotree.js d3.js • 65 views
ADD COMMENTlink modified 13 days ago • written 14 days ago by lubw0610
gravatar for lubw06
13 days ago by
lubw0610 wrote:

Solved the problem by asking the question to the Phylotree.js developers. See the answer below. Please scroll to the end of the conversation thread to see the answer.

ADD COMMENTlink written 13 days ago by lubw0610
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1902 users visited in the last hour