Questions tagged [thejit]

The JIT is the JavaScript Information Visualization Toolkit. See also the InfoVis tag.

44 questions
2
votes
1 answer

Resize Canvas for Jit Graph library on window resize

Situation: I'm trying to refresh the graph (Force Directed) on window.resize. jQuery( window ).on( 'resize', function( e ) { // The definition happens in the function in the next line // The init…
kaiser
  • 21,817
  • 17
  • 90
  • 110
1
vote
1 answer

Fix node width and height in Spacetree from Javascript Infovis Toolkit

I've finally got my nodes almost done perfectly, unfortunately I'm having one more problem the width of what is drawn on the canvas isn't the width of the defined node. The blue + purple is the node div + padding, and I could perfectly center it…
Rob
  • 2,779
  • 5
  • 23
  • 34
1
vote
3 answers

Sunburst Data Visualization - additional ring

I found this nice framework for data visualization purposes: http://thejit.org/static/v20/Jit/Examples/Sunburst/example2.html For my project I need 4 rings. So I tried to figure out how to add two rings to the template JS, which you can find here:…
1
vote
1 answer

How to use Javascript Infovis Toolkit inside of hidden container (tabbed layout)

I have a page with multiple tabs(jquery ui tabs) On the last tab I am displaying a "spacetree". I have this working properly on a seperate test page(without the tabs). As soon as I add everything to the tabbed page the tree stops displaying. The div…
stephen776
  • 9,134
  • 15
  • 74
  • 123
1
vote
1 answer

How to Remove Previously Drawn InfoVis Space Tree

I am using InfoVis to generate a space tree visualization in one of my projects. Since this is an interactive web site, the Space Tree needs to be regenerated each and every time the user has changed preferences. This requires the Space Tree to be…
Aviro
  • 2,125
  • 22
  • 28
1
vote
1 answer

Downloading childnode in Spacetree in infovis javascript

I am new to java and javascript. I have used infovis Spacetree for building a tree. I want to make the children node of parent node downloadable. I mean when the user clicks chilnode 1 of Parent node 1 it should download a pdf file stored from root…
Carol
  • 367
  • 2
  • 3
  • 18
1
vote
1 answer

Infovis with Html label - node drag no longer working

I am using a html label for my nodes in a force directed graph. Label:{ type: 'HTML' }, onCreateLabel: function (domElement, node) { domElement.innerHTML = node.name; var style = domElement.style; style.border = "1px solid red" …
JAck28
  • 899
  • 4
  • 15
  • 40
1
vote
0 answers

Spacetree canvas not completely cleared with Android default browser

I included a JIT spacetree in a project, it works very well with any browser except Android default browser: some nodes are not correctly cleared during animations. We can see it with the Spacetree demo: navigate in this tree with for example…
Dominique
  • 4,272
  • 1
  • 16
  • 21
1
vote
0 answers

Jit - Trying to resize SpaceTree on node expansion, rather than hiding the other subtrees

I am working with Jit's Spacetree (http://flashcanvas.net/examples/thejit.org/static/v20/Jit/Examples/Spacetree/example1.html) and I am trying to modify it to where when you click on a node to expand it, it will not hide the other nodes, but it will…
Georgi Angelov
  • 4,338
  • 12
  • 67
  • 96
1
vote
1 answer

Infovis JIT: add click listener to edge

I'm trying to capture a click event on an edge of a sunburst graph. I've already captured click events on nodes. This is what I'm trying: //..sunburst example code Events: { enable: true, enableForEdges: true, type: 'Native', …
nessa.gp
  • 1,804
  • 21
  • 20
1
vote
1 answer

Change plain line to arrow line in infovis

How to change plain line to arrow line in infovis? Currently there are some lines between blocks, I found some css files, but I cannot find which content describing the line behaviour such that I can change the plain line to arrow line. Thanks.
hosir
  • 477
  • 1
  • 9
  • 33
1
vote
1 answer

Specify minimum distance between nodes in infoVis JIT graph

Is there any way by which I can specify minimum distance between nodes/edges in force directed graph? I have some graphs in which one node is connected to hundreds of other nodes directly and in such cases it is really difficult to select a specific…
Pratik Patel
  • 1,305
  • 1
  • 17
  • 44
1
vote
0 answers

JIT SpaceTree visualization

I need to use JIT SpaceTree into my project with MVC4. Three models: Symptom, Test, Reference. Each has an ID (guid), Title, Links (List). A Symptom can link to either a Test, or a Reference. A Test can link to a Symptom or Reference and a…
0
votes
1 answer

Double click on node in Force Directed Graph, theJit

I'm trying to add in a double click on a node in the force directed graph from thejit package found here : force directed graph Double clicking on the node name is easy enough, but I can't seem to figure out how to add a double click to the node…
0
votes
1 answer

How to Create a JSON Tree from a Tabulated Hierarchy in Python

I'm sure there's an elegant way of doing this in Python (or at a push, Javascript), but for the life of me I can't see it... I have a CSV file of the form: ID, Name, Description A, A-name, A100, A100-name, A100-desc A110, A110-name, A110-desc A111,…
psychemedia
  • 5,690
  • 7
  • 52
  • 84