Comments (7)
Hi,
This is actually an ExCanvas bug. I recommend you to use FlashCanvas for IE support. It has better performance and from what I've seen works very well. You can try the FlashCanvas example here: http://flashcanvas.net/examples/thejit.org/static/v20/Jit/Examples/Spacetree/example4.html .
Here's the blog announcement for more information http://blog.flashcanvas.net/2010/07/flashcanvas-pro-13-beta1-is-released.html .
from jit.
Hi Phil,
It's not that simple. I was using FlashCanvas, but there were actually two issues involved.
- Break in IE6, but work in IE8 if simply change node type from 'rectangle' to 'ellipse'. So this could be a issue of whether FlashCanvas supports IE6 or not.
- Break in IE8 if change node height from 40 to 60. The root node is not shown. The ellipses were drawn first, then seem background colors were changed to black except the last node. I would reckon the nodes are still there(because tips still work) just not being shown. P.S. my first level nodes under root were 8. So this could be an issue of undocumented size limit of the canvas? Once that limit is exceeded, it breaks.
from jit.
1. Break in IE6, but work in IE8 if simply change node type from 'rectangle' to 'ellipse'. So this could be a issue of whether FlashCanvas supports IE6 or not.
If there's a JavaScript error in IE6 but not in IE8 there's a big chance you left some trailing comma somewhere in your JS code. The demo I sent you using Ellipse nodes works well with IE6 with FlashCanvas.
2. Break in IE8 if change node height from 40 to 60. The root node is not shown. The ellipses were drawn first, then seem background colors were changed to black except the last node. I would reckon the nodes are still there(because tips still work) just not being shown. P.S. my first level nodes under root were 8. So this could be an issue of undocumented size limit of the canvas? Once that limit is exceeded, it breaks.
If the height of the Tree exceed the height of the canvas then that level is not shown by default (this is a feature of the SpaceTree acually). To turn it off you have to set
constrained: false
as constructor option in the visualization. More info here: http://thejit.org/static/v20/Docs/files/Visualizations/Spacetree-js.html#ST .
Could you paste the JSON you're using and if possible a screenshot with the issue?
from jit.
Sorry I don't know how to upload screenshot to github?
from jit.
Try uploading it to any pic service like imgur.com and then share the link.
from jit.
Here you go: http://imgur.com/Ob013.png
from jit.
that's with excanvas, right? what about flashcanvas? the example I linked you to uses flashcanvas and works just fine.
from jit.
Related Issues (20)
- Too much recursion
- export e Json Data
- An extrenal file Json
- Add bidirectional and double line
- $jit.ForceDirected how can i specific each edge's length
- Bower.json version mismatch
- dynamically loading the tree
- Implement Cushioned Treemaps
- Stacked Bar Chart Show Labels for each stack in the Bar. HOT 1
- bower download is just text HOT 1
- How do I avoid the nodes to extend outside of the visible canvas
- How to make the root node and other nodes start displaying from left not center HOT 1
- Force Directed renders incorrectly? HOT 1
- "offsetY" setting doesn't work after "removeSubtree" call
- when click Node A , how to just show the children nodes belonging to the Node A
- voronoi treemap area
- Class.override doesn't give access to the overriden method
- Node overlapping
- click on children cant set canvas view to center !
- Jit
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jit.