Commit 6d9c1e91 authored by Sebastien Robin's avatar Sebastien Robin

TODO : make sure we render graph on demand to avoid waiting for the rendering of all graphs

parent f61b59e5
...@@ -71,6 +71,8 @@ function toggleGraph(node) { ...@@ -71,6 +71,8 @@ function toggleGraph(node) {
container.toggle(); container.toggle();
if (container.attr("data-rendered-marker") == null) { if (container.attr("data-rendered-marker") == null) {
container.attr("data-rendered-marker", "rendered"); container.attr("data-rendered-marker", "rendered");
# XXX We need to render on demand with Plotly like it was done with plot to avoid
# Long time rendering
container.find(".graph").each(function (i){renderGraph(this)}); container.find(".graph").each(function (i){renderGraph(this)});
} }
} }
......
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