- <!doctype html>
- <html class="zc-html">
-
- <head>
- <meta charset="utf-8">
- <title>ZingSoft Demo</title>
- <script nonce="undefined" src="https://cdn.zingchart.com/zingchart.min.js"></script>
- <style>
- .zc-body {
- background: #fff;
- }
-
- .chart--container {
- height: 100%;
- width: 100%;
- min-height: 900px;
- }
-
- .zc-ref {
- display: none;
- }
- </style>
- </head>
-
-
- <body class="zc-body">
- <div id="myChart" class="chart--container">
- <a href="https://www.zingchart.com/" rel="noopener" class="zc-ref">Powered by ZingChart</a>
- </div>
- <script>
- ZC.LICENSE = ["569d52cefae586f634c54f86dc99e6a9", "b55b025e438fa8a98e32482b5f768ff5"];
- let chartData = [{
- id: 'collegeboard',
- name: 'COLLEGE BOARD',
- parent: '',
- cls: 'bdegblue'
- },
-
- {
- id: 'fkn1',
- fake: true,
- name: '1',
- parent: 'collegeboard',
- sibling: 'president'
- },
- {
- id: 'president',
- name: 'President',
- parent: 'collegeboard',
- cls: 'byellow'
- },
- {
- id: 'execasspres',
- name: 'Executive Assistant to<br>the President',
- parent: 'collegeboard',
- sibling: 'president',
- cls: 'bwhite'
- },
-
- {
- id: 'execvicepres',
- name: 'Executive Vice<br>President/<br>Administrative<br>Services',
- parent: 'president',
- cls: 'bred'
- },
- {
- id: 'chinof',
- name: 'Chief Information Officer',
- parent: 'execvicepres',
- cls: 'bgreen'
- },
- {
- id: 'assvicepres',
- name: 'Associate Vice President',
- parent: 'execvicepres',
- cls: 'bgreen'
- },
-
- {
- id: 'fkn2',
- fake: true,
- name: '2',
- parent: 'president'
- },
- {
- id: 'fkn3',
- fake: true,
- name: '3',
- parent: 'fkn2'
- },
-
- {
- id: 'prmdir',
- name: 'Public Relations & Marketing<br>Senior Director',
- parent: 'fkn3',
- cls: 'bblue'
- },
- {
- id: 'prc',
- name: 'Public Relations<br>Coordinator',
- parent: 'prmdir',
- cls: 'bwhite'
- },
- {
- id: 'sw',
- name: 'Switchboard',
- parent: 'prmdir',
- reference: 'prc',
- cls: 'bwhite'
- },
- {
- id: 'ps',
- name: 'Publications Specialist',
- parent: 'prmdir',
- reference: 'prc',
- cls: 'bwhite'
- },
- {
- id: 'gd',
- name: 'Graphic Designer',
- parent: 'prmdir',
- reference: 'prc',
- cls: 'bwhite'
- },
- {
- id: 'ms',
- name: 'Marketing Specialist',
- parent: 'prmdir',
- reference: 'prc',
- cls: 'bwhite'
- },
- {
- id: 'wcm',
- name: 'Web Content Manager',
- parent: 'prmdir',
- reference: 'prc',
- cls: 'bwhite'
- },
-
- {
- id: 'fed',
- name: 'Foundation<br>Executive Director',
- parent: 'fkn3',
- cls: 'bblue'
- },
- {
- id: 'safed',
- name: 'Senior Accountant',
- parent: 'fed',
- cls: 'bwhite'
- },
- {
- id: 'dps',
- name: 'Development Program<br>Specialist',
- parent: 'fed',
- reference: 'safed',
- cls: 'bwhite'
- },
-
- {
- id: 'sdirsp',
- name: 'Senior Director<br>Institutional Research and<br>Strategic Planning',
- parent: 'fkn3',
- cls: 'bblue'
- },
- {
- id: 'sra',
- name: 'Senior Research Analyst',
- parent: 'sdirsp',
- cls: 'bwhite'
- },
- {
- id: 'rs',
- name: 'Research Specialist',
- parent: 'sdirsp',
- reference: 'sra',
- cls: 'bwhite'
- },
-
- {
- id: 'vicepresle',
- name: 'Vice President<br>for Learning',
- parent: 'president',
- cls: 'bred'
- },
- {
- id: 'assvicepresl',
- name: 'Associate Vice President',
- parent: 'vicepresle',
- cls: 'bgreen'
- },
-
- {
- id: 'vicepresstu',
- name: 'Vice President for<br>Student Services',
- parent: 'president',
- cls: 'bred'
- }
- ];
-
- let chartConfig = {
- type: 'tree',
- options: {
- aspect: 'tree-down',
- orgChart: true,
- packingFactor: 10,
- link: {
- lineColor: '#000',
- lineWidth: '2px',
- },
- 'link[parent-prmdir]': {
- aspect: 'side-before'
- },
- 'link[parent-fed]': {
- aspect: 'side-before'
- },
- 'link[parent-sdirsp]': {
- aspect: 'side-before'
- },
- node: {
- borderColor: '#000',
- borderWidth: '2px',
- fillAngle: 0,
- gradientStops: '0.01 0.5 0.55 0.99',
- shadow: true,
- shadowColor: '#ccc',
- shadowDistance: '4px',
- hoverState: {
- visible: false
- },
- label: {
- color: '#000',
- fontSize: '10px'
- }
- },
- 'node[cls-byellow]': {
- gradientColors: '#FDDA58 #FBF4BD #FBF4BD #FDDA58',
- label: {
- fontSize: '15px',
- fontWeight: 'bold'
- },
- width: '200px',
- height: '60px'
- },
- 'node[cls-bred]': {
- gradientColors: '#A15A58 #D6B2B2 #D6B2B2 #A15A58',
- width: '120px',
- height: '70px'
- },
- 'node[cls-bdegblue]': {
- gradientColors: '#51B7CD #C0E0EB #C0E0EB #51B7CD',
- label: {
- fontSize: '15px',
- fontWeight: 'bold'
- },
- width: '300px',
- height: '70px'
- },
- 'node[cls-bblue]': {
- backgroundColor: '#B7DDE8',
- width: '180px',
- height: '65px'
- },
- 'node[cls-bgreen]': {
- backgroundColor: '#C3D79A',
- width: '130px',
- height: '50px',
- },
- 'node[cls-bwhite]': {
- backgroundColor: '#fff',
- offsetX: '30px',
- width: '140px',
- height: '50px'
- }
- },
- plotarea: {
- margin: '20px'
- },
- series: chartData
- };
-
- zingchart.render({
- id: 'myChart',
- width: '100%',
- height: '100%',
- data: chartConfig
- });
- </script>
- </body>
-
- </html>
- <!doctype html>
- <html class="zc-html">
-
- <head>
- <meta charset="utf-8">
- <title>ZingSoft Demo</title>
- <script src="https://cdn.zingchart.com/zingchart.min.js"></script>
- </head>
-
-
- <body class="zc-body">
- <div id="myChart" class="chart--container">
- <a href="https://www.zingchart.com/" rel="noopener" class="zc-ref">Powered by ZingChart</a>
- </div>
- </body>
-
- </html>
- .zc-body {
- background: #fff;
- }
-
- .chart--container {
- height: 100%;
- width: 100%;
- min-height: 900px;
- }
-
- .zc-ref {
- display: none;
- }
- let chartData = [{
- id: 'collegeboard',
- name: 'COLLEGE BOARD',
- parent: '',
- cls: 'bdegblue'
- },
-
- {
- id: 'fkn1',
- fake: true,
- name: '1',
- parent: 'collegeboard',
- sibling: 'president'
- },
- {
- id: 'president',
- name: 'President',
- parent: 'collegeboard',
- cls: 'byellow'
- },
- {
- id: 'execasspres',
- name: 'Executive Assistant to<br>the President',
- parent: 'collegeboard',
- sibling: 'president',
- cls: 'bwhite'
- },
-
- {
- id: 'execvicepres',
- name: 'Executive Vice<br>President/<br>Administrative<br>Services',
- parent: 'president',
- cls: 'bred'
- },
- {
- id: 'chinof',
- name: 'Chief Information Officer',
- parent: 'execvicepres',
- cls: 'bgreen'
- },
- {
- id: 'assvicepres',
- name: 'Associate Vice President',
- parent: 'execvicepres',
- cls: 'bgreen'
- },
-
- {
- id: 'fkn2',
- fake: true,
- name: '2',
- parent: 'president'
- },
- {
- id: 'fkn3',
- fake: true,
- name: '3',
- parent: 'fkn2'
- },
-
- {
- id: 'prmdir',
- name: 'Public Relations & Marketing<br>Senior Director',
- parent: 'fkn3',
- cls: 'bblue'
- },
- {
- id: 'prc',
- name: 'Public Relations<br>Coordinator',
- parent: 'prmdir',
- cls: 'bwhite'
- },
- {
- id: 'sw',
- name: 'Switchboard',
- parent: 'prmdir',
- reference: 'prc',
- cls: 'bwhite'
- },
- {
- id: 'ps',
- name: 'Publications Specialist',
- parent: 'prmdir',
- reference: 'prc',
- cls: 'bwhite'
- },
- {
- id: 'gd',
- name: 'Graphic Designer',
- parent: 'prmdir',
- reference: 'prc',
- cls: 'bwhite'
- },
- {
- id: 'ms',
- name: 'Marketing Specialist',
- parent: 'prmdir',
- reference: 'prc',
- cls: 'bwhite'
- },
- {
- id: 'wcm',
- name: 'Web Content Manager',
- parent: 'prmdir',
- reference: 'prc',
- cls: 'bwhite'
- },
-
- {
- id: 'fed',
- name: 'Foundation<br>Executive Director',
- parent: 'fkn3',
- cls: 'bblue'
- },
- {
- id: 'safed',
- name: 'Senior Accountant',
- parent: 'fed',
- cls: 'bwhite'
- },
- {
- id: 'dps',
- name: 'Development Program<br>Specialist',
- parent: 'fed',
- reference: 'safed',
- cls: 'bwhite'
- },
-
- {
- id: 'sdirsp',
- name: 'Senior Director<br>Institutional Research and<br>Strategic Planning',
- parent: 'fkn3',
- cls: 'bblue'
- },
- {
- id: 'sra',
- name: 'Senior Research Analyst',
- parent: 'sdirsp',
- cls: 'bwhite'
- },
- {
- id: 'rs',
- name: 'Research Specialist',
- parent: 'sdirsp',
- reference: 'sra',
- cls: 'bwhite'
- },
-
- {
- id: 'vicepresle',
- name: 'Vice President<br>for Learning',
- parent: 'president',
- cls: 'bred'
- },
- {
- id: 'assvicepresl',
- name: 'Associate Vice President',
- parent: 'vicepresle',
- cls: 'bgreen'
- },
-
- {
- id: 'vicepresstu',
- name: 'Vice President for<br>Student Services',
- parent: 'president',
- cls: 'bred'
- }
- ];
-
- let chartConfig = {
- type: 'tree',
- options: {
- aspect: 'tree-down',
- orgChart: true,
- packingFactor: 10,
- link: {
- lineColor: '#000',
- lineWidth: '2px',
- },
- 'link[parent-prmdir]': {
- aspect: 'side-before'
- },
- 'link[parent-fed]': {
- aspect: 'side-before'
- },
- 'link[parent-sdirsp]': {
- aspect: 'side-before'
- },
- node: {
- borderColor: '#000',
- borderWidth: '2px',
- fillAngle: 0,
- gradientStops: '0.01 0.5 0.55 0.99',
- shadow: true,
- shadowColor: '#ccc',
- shadowDistance: '4px',
- hoverState: {
- visible: false
- },
- label: {
- color: '#000',
- fontSize: '10px'
- }
- },
- 'node[cls-byellow]': {
- gradientColors: '#FDDA58 #FBF4BD #FBF4BD #FDDA58',
- label: {
- fontSize: '15px',
- fontWeight: 'bold'
- },
- width: '200px',
- height: '60px'
- },
- 'node[cls-bred]': {
- gradientColors: '#A15A58 #D6B2B2 #D6B2B2 #A15A58',
- width: '120px',
- height: '70px'
- },
- 'node[cls-bdegblue]': {
- gradientColors: '#51B7CD #C0E0EB #C0E0EB #51B7CD',
- label: {
- fontSize: '15px',
- fontWeight: 'bold'
- },
- width: '300px',
- height: '70px'
- },
- 'node[cls-bblue]': {
- backgroundColor: '#B7DDE8',
- width: '180px',
- height: '65px'
- },
- 'node[cls-bgreen]': {
- backgroundColor: '#C3D79A',
- width: '130px',
- height: '50px',
- },
- 'node[cls-bwhite]': {
- backgroundColor: '#fff',
- offsetX: '30px',
- width: '140px',
- height: '50px'
- }
- },
- plotarea: {
- margin: '20px'
- },
- series: chartData
- };
-
- zingchart.render({
- id: 'myChart',
- width: '100%',
- height: '100%',
- data: chartConfig
- });