The JIT is the JavaScript Information Visualization Toolkit. See also the InfoVis tag.
Questions tagged [thejit]
44 questions
36
votes
5 answers
Customizing JavaScript Visualization Toolkit Spacetree Node
I saw many people recommend JavaScript Visualization Toolkit (The JIT) for org chart. I am trying to use SpaceTree of JavaScript InfoVis Toolkit for org chart. The nodes in my org chart is like a component in itself that has employee profile pic,…

ram
- 369
- 3
- 4
7
votes
4 answers
JIT. Best way serialize to json
I need to create a custom json for the jit library. Should I use additional C# logic or somehow to extend JsonSerializer. Json should be like this -->
var json = {
"children": [
{
"children": [
{
"children": [],
…

Alexandr
- 5,460
- 4
- 40
- 70
5
votes
3 answers
JIT Spacetree Save Labels as Image
I am using the JavaScript InfoVis Toolkit (http://thejit.org/) and am trying to print my expanded space-tree visualization using canvas.toDataURL("image/png"). While this works for my ForceDirected graph -- in the SpaceTree we have our labels in a…

bharris9
- 335
- 3
- 14
4
votes
1 answer
InfoVis and Rails
I'm going to pose this question to the JavaScript InfoVis Toolkit Google Group, but while I'm waiting for that membership to be approved, I thought I'd pose it here.
I'm developing a Rails app and am in need of adding data visualization (and…

Spencer R
- 1,118
- 2
- 14
- 34
4
votes
1 answer
How to reset thejit treemap control after the first display?
I use thejit treemap to display first 50 most frequently used words from a .txt file. My code is deployed here.
After the first text upload I receive JSON result and bind it to thejit control. All good so far. However, if I do another upload of a…

Alexandr
- 5,460
- 4
- 40
- 70
3
votes
1 answer
Javascript InfoVis Spacetree - Dynamically hide/show Tooltips
I've been googling this and can't seem to find an answer. I will also ask this in the JavaScript InfoVis Toolkit Google Group.
I was wondering if it's possible to dynamically hide/show tooltips using InfoVis spacetree. Currently they are turned on…

usernamegoeshere
- 31
- 2
3
votes
1 answer
How do i change default orientation in infovis spacetree?
I'm trying to change the default orientation in a space tree but can't figure out where to add:
st.switchPosition("top", "animate", {
onComplete: function() {
alert('completed!');
}
});
So that the tree will start from the top instead…

XT_Nova
- 1,110
- 5
- 17
- 32
3
votes
1 answer
JavaScript InfoVis Toolkit SpaceTree node order
I am using the InfoVis SpaceTree to visualize a tree. The complete tree is loaded in one call to the loadJSON method. Each node's children are already in the correct order. But the nodes do not display in the order they are defined in the data…

user2323470
- 183
- 9
3
votes
0 answers
SpaceTree how to add subtree on node click
I have written the following code which shows the error:
Cannot read property 'children' of null
I want the children to be loaded when the node is clicked.
request:function(nodeId, level, onComplete)
{
alert(nodeId+'p …

Mohammad Sadiq Shaikh
- 3,160
- 9
- 35
- 54
3
votes
1 answer
Unable to drag the hierarchy tree in iOS Browser - thejit
Unable to drag the spacetree in safari browser on IPhone simulator.
I tried below examples on my safari browser in IPhone Simulator.…

Muthukumar
- 8,679
- 17
- 61
- 86
3
votes
0 answers
JIT ForceDirected Graph with fixed node position
My web service returns json with all nodes of a grath set. I'm using the JIT for visualisation. Does JIT allow to set positions of each node inside json?
Or is there any javascript library which allows this?

Macchiatow
- 607
- 10
- 24
2
votes
2 answers
Javascript InfoVis Spacetree Individual Node Styling
I am newbie with javascript coding - can anyone help me with the InfoVis Spacetree? I am trying to set the width and height of a certain level of nodes to be smaller than the rest. It seems like I put it in the data: {} but when I tried…

Michael
- 33
- 1
- 5
2
votes
0 answers
How to add a background picture to a Jit infovis spacetree
I need to add a picture to a spacetree to serve as a background to a spacetree.
I have tried several ways but succeeded at none, mainly for the following 2 reasons:
- positioning on the canvas (coordinates 0,0 do not seem to be the correct…

FadyB
- 21
- 2
2
votes
1 answer
tips.hide() function. Potential bug in infoVis/JIT?
I have a force directed graph with "Tips" enabled. I don't want to show tips for those nodes which are hidden i.e. for whom "alpha" is zero. In onShow call back function I am trying to use tips.hide() but it is not hiding the tip. Here is my…

Pratik Patel
- 1,305
- 1
- 17
- 44
2
votes
1 answer
JIT - Saving Spacetree as an image
I'm using JavaScript InfoVis Toolkit (http://thejit.org/) and am trying to save the Spacetree that I output into an image. The Spacetree is outputted to a canvas. This problem is really frustrating me. I have tried:
Opening the canvas in a new…

user82302124
- 1,143
- 5
- 32
- 57