Please use Organization Chart Designer to finalize the chart settings you need. Then put the equivalent code in an event (heHierarchyDraw event in ASP.NET Application, any event in WinForms Application).
(Demo version of the organization chart winform component library is included,