-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmine.js
More file actions
23 lines (22 loc) · 754 Bytes
/
Copy pathmine.js
File metadata and controls
23 lines (22 loc) · 754 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// $(function() {
// var datascource = {
// 'name': 'Lao Lao',
// 'title': 'general manager',
// 'children': [
// { 'name': 'Bo Miao', 'title': 'department manager' },
// { 'name': 'Su Miao', 'title': 'department manager',
// 'children': [
// { 'name': 'Tie Hua', 'title': 'senior engineer' },
// { 'name': 'Hei Hei', 'title': 'senior engineer' }
// ]
// },
// { 'name': 'Hong Miao', 'title': 'department manager' },
// { 'name': 'Chun Miao', 'title': 'department manager' }
// ]
// };
// $('#chart-container').orgchart({
// 'data' : datascource,
// 'nodeContent': 'title',
// 'direction': 'l2r'
// });
// });