There was an Organization Chart in the scope of one of the projects I’m managing, and it came to me the idea to make it in SilverLight the same way in http://svdemo02.ilog.com/SilverlightOrgChart/OrgChart.html
And here are the main points to make it out:
1. Working with Canvas
2. Drawing Lines and Boxes
3. Using ScrollViewer
4. Using Slider (for the scale)
5. Using SilverLight UserControls (the node element with the person information)
6. Reading data from XML files and web services
7. Some Calculations
3. Using ScrollViewer
4. Using Slider (for the scale)
5. Using SilverLight UserControls (the node element with the person information)
6. Reading data from XML files and web services
7. Some Calculations
Update: for the source code go to http://silverorgchart.codeplex.com/
14 comments:
Hi Osama
Looks good - would it be possible for you to post some sample code, please?
Thanks
Scott
Thanks Skot, actually there is code samples here http://omourad.blogspot.com/2009/10/silverlight-organization-chart-part-1.html
http://omourad.blogspot.com/2009/11/silverlight-organization-chart-part-2.html
Osama,
Very nice looking chart. Would you be able to post the complete code to do this?
Thanks,
David
Can Its Orientation be Left To Right?
Hi Osama
thanks for posting the source code (think this was sometime in 2010, right?).
I've only just come back to it now and it works great. I've added a WCF service to retrieve the data directly from Active Directory and added a couple of UI updates (search, expand, collapse, scaling). If you'd be interested in any of these updates, please let me know.
Shokran
Scott
Hey Skot ,
Its great , Could you please share your updates ..?
I was Trying Search but failed ..
my Id is mca2004.manoj@gmail.com....It will be great Help from you...
Your code did wonders for me. The chart is very nice. it adjusts itself properly in the window depending upon number of nodes. very well done.
thanks for sharing.
Nachiket, Goa
What if I want to change the double click handle into single click? Which part should I change? Thanks
Many Thanks Osama that help me in my job really many thanks
Scot , Kindly do share Collapse , Expand , search code .. I will be very thankful to you
I dont use Microsoft products. Is there an alternative organization chart drawing method for net-beans or other opensource software that I can use?
You can use HTML5 to build this.
Post a Comment