jit icon indicating copy to clipboard operation
jit copied to clipboard

Second heatmap's nodes not inserted in the DOM

Open epdejager opened this issue 12 years ago • 1 comments

When rendering two heatmaps on the same page, it seems that the first one renders fine, but although the second one's canvas is drawn, the nodes are not inserted in the DOM.

This means that for example no mouse-click events or labels can be added.

Does anyone know of a way around this?

As a side note, when a heatmap is on a hidden tab, the canvas size defaults to 0 (even when the parent container has non-zero height and width), resulting in an exception when cushioning is on, and in no graph (but a cluster of labels in the top left-hand corner) when cushioning is off.

epdejager avatar Jun 24 '13 09:06 epdejager

You can find answers to those questions by joining the google group:

https://groups.google.com/forum/?hl=en#!pendingmember/javascript-information-visualization-toolkit/

2013/6/24 epdejager [email protected]

When rendering two heatmaps on the same page, it seems that the first one renders fine, but although the second one's canvas is drawn, the nodes are not inserted in the DOM.

This means that for example no mouse-click events or labels can be added.

Does anyone know of a way around this?

As a side note, when a heatmap is on a hidden tab, the canvas size defaults to 0 (even when the parent container has non-zero height and width), resulting in an exception when cushioning is on, and in no graph (but a cluster of labels in the top left-hand corner) when cushioning is off.

— Reply to this email directly or view it on GitHubhttps://github.com/philogb/jit/issues/154 .

Nicolas Garcia Belmonte - http://philogb.github.com/

philogb avatar Jun 24 '13 18:06 philogb