最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

ajax - Building Organizational chart using JavaScript - Stack Overflow

programmeradmin1浏览0评论

I have JSON data which e from server.

I want to display organization chart in the HTML file in the below format:

                       CEO
                        |
                        |
            #Manager             #Manager 

I am using Dojo. I find this link extremely useful. I want to build exactly the same thing.

I am not able to find required dojo files in there site. So it could be proprietary to IBM.

I tried this link, but I do not find it useful.

Can someone please tell me how should I do it Using dojo or any other frameworks?

I have JSON data which e from server.

I want to display organization chart in the HTML file in the below format:

                       CEO
                        |
                        |
            #Manager             #Manager 

I am using Dojo. I find this link extremely useful. I want to build exactly the same thing.

I am not able to find required dojo files in there site. So it could be proprietary to IBM.

I tried this link, but I do not find it useful.

Can someone please tell me how should I do it Using dojo or any other frameworks?

Share Improve this question edited Sep 21, 2011 at 11:46 anish asked Sep 21, 2011 at 11:26 anishanish 1,0334 gold badges13 silver badges27 bronze badges
Add a ment  | 

3 Answers 3

Reset to default 3

you can use Basic Primitives Diagrams

Which has various diagrams and optional format and is also open source, it's client side JavaScript layout and rendering and no dependencies on 3rd party libraries.

It is also possible to try it online here

You might want to try google org charts . fairly easy to use it think.

I'm glad to offer jquery solution. As for which is the most easy to use, it all depends on your practical trying results. The following snapshot shows the tree-like hierarchy created by jquery plugin OrgChart

If you have not svg, canvas or flex background, maybe this pure dom solution will be your favorite :)

发布评论

评论列表(0)

  1. 暂无评论