Manually add data into OrgSeries (Organizational Charts)
Posted: Tue Mar 25, 2008 8:11 am
Anyone have example to add data into OrgSeries manually without using the editor?
Thanks.
Thanks.
Steema Software - Customer Support Forums
http://216.92.243.79/support/
Code: Select all
Steema.TeeChart.Styles.OrgSeries org1 = new Steema.TeeChart.Styles.OrgSeries(tChart1.Chart);
int i = org1.Add("Parent", -1);
org1.Add("Child 1", i);
org1.Add("Child 2", i);
org1.Add("Child 3", i);
Code: Select all
Steema.TeeChart.Styles.OrgSeries org1 = new Steema.TeeChart.Styles.OrgSeries(tChart1.Chart);
int i = org1.Add("Parent", -1);
org1.Add("Child 1", i);
int i2 = org1.Add("Child 2", i);
int i3 =org1.Add("Child 3", i);
org1.Add("Grand\nChild 1", i2);
org1.Add("Grand\nChild 2", i2);
org1.Add("Grand\nChild 3", i3);
org1.Add("Grand\nChild 4", i3);