문제

Trying to make custom tree animation based on InfoVis toolkit, and to be particular, want to customize Spacetree Tree animation sample. For that reason, saved sample to local computer, however opening local sample is not working properly, i.e. the outcome is not exactly same with web version. Firstly, the nodes are not colored, secondly, there is no response for onClick event. I've checked both local and web versions of html files, everything is same, all js and css files are properly called and accessible. Anyone had similar problems? Please share the solution if you have. Thanks in advance.

screenshots:

enter image description here

enter image description here

도움이 되었습니까?

해결책

I would suggest that you download the package. It contains all the examples to play with for all visualizations. And in my package, the example that you are referring to works fine.

So, you don't have to create local copies the way you are creating. Just download the toolkit and you have local copies of all the examples including the one you want. In fact, you can create as many local copies as you want from the toolkit.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top