Commit efc42cda authored by Jerome Mariette's avatar Jerome Mariette
Browse files

add jphylocharts

parent 27f5db1b
......@@ -218,14 +218,16 @@ $(function () {
$("#user_information_dialog").dialog('option', 'buttons', buttons);
}
});
var dataObject = { newick: $("#tre_thetayc_unique").val() };
phylocanvas = new Smits.PhyloCanvas(
dataObject, // Newick or XML string
'svgCanvas', // Div Id where to render
800, 800, // Height, Width in pixels
'circular'
);
// If there is some tree to display
if ($("id^=tre_").size() > 0) {
var dataObject = { newick: $("#tre_thetayc_unique").val() };
phylocanvas = new Smits.PhyloCanvas(
dataObject, // Newick or XML string
'svgCanvas', // Div Id where to render
800, 800, // Height, Width in pixels
'circular'
);
}
});
Supports Markdown
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