Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Another way to show the chart using pure DOM and CSS #1

Closed
tobyee opened this issue Mar 2, 2016 · 7 comments
Closed

Another way to show the chart using pure DOM and CSS #1

tobyee opened this issue Mar 2, 2016 · 7 comments

Comments

@tobyee
Copy link

tobyee commented Mar 2, 2016

Refer to
http://thecodeplayer.com/walkthrough/css3-family-tree

@dabeng
Copy link
Owner

dabeng commented Mar 2, 2016

Cool chart! It makes use of nested <ul> . Maybe this is the new feature for next version of OrgChart.

@dabeng
Copy link
Owner

dabeng commented Apr 14, 2016

Thanks a lot for @tobyee 's advice, we have provided ul datasource from version 0.9.9

@dabeng dabeng closed this as completed Apr 14, 2016
@neights
Copy link

neights commented Apr 28, 2017

Hello, can you generate a static, unable to click and flex architecture? How do

@jigarce
Copy link

jigarce commented Oct 13, 2017

How to add Content in

    as source Method , We just have Name in
  • like Name / Production Manager

@minvalencia
Copy link

How to can I install this js in my laravel project?

@AbhishekGNG
Copy link

AbhishekGNG commented Sep 27, 2019

Refer to
http://thecodeplayer.com/walkthrough/css3-family-tree

Great work!!, broken down the big problem into small piece of solution, I did some updates, Some how I managed to add/append dynamic data to multiple level, but the only problem I'm facing is dynamic width of the structure, it breaks down to every level when the tree overflows parent element.

Any suggestion or Solution?

@tobyee
Copy link
Author

tobyee commented Sep 27, 2019

@AbhishekGNG
These is a very simple solution, change li element from float to table-cell

.tree li {
    /* float: left; (remove this)*/
   display: table-cell;
   /* other properties*/
}

dabeng pushed a commit that referenced this issue Jan 6, 2021
Added option to getHierarchy to include nodeData
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants