Images in this post missing? We recently lost them in a site migration. We're working to restore these as you read this. Should you need an image in an emergency, please contact us at
How to Create Graph in Silverlight

The Silverlight is the great tool to do presentation layer for web applications. Things like diagrams, charts, schemas etc. I will stop myself here. There is a lot sources about where the Silverlight can be used so I will leave that to your imagination. I would like to show a short sample how to create simple graph. It's actually part of something bigger I'm working on right now.


Anyway, just for clarification how difficult is that. I've touch WPF first time in my life on Monday. My very first Silverlight project in VS2008 has been created yesterday. Everything you can see there is still playground. I've spent about 5 hours today working on the code presented below. So as you can see it's very, very easy. Whole source code is attached to the post with some comments inside. Please note that many parameters are set as constant at the moment. This code is a snapshot only and can't be considered as a working control.

Update 06/11/2008

Unfortunately I've lost access to the server where demo and sources were uploaded. I will try to find them for I still hope I have it somewhere on backup disks. However, please let me know if anyone downloaded and still have it.

kick it on Technorati
Posted 06-15-2007 2:46 PM by Jimmy


About The CodeBetter.Com Blog Network
CodeBetter.Com FAQ

Our Mission

Advertisers should contact Brendan

Google Reader or Homepage Latest Items
Add to My Yahoo!
Subscribe with Bloglines
Subscribe in NewsGator Online
Subscribe with myFeedster
Add to My AOL
Furl Latest Items
Subscribe in Rojo

Member Projects
DimeCasts.Net - Derik Whittaker

Friends of
Red-Gate Tools For SQL and .NET


SmartInspect .NET Logging
NGEDIT: ViEmu and Codekana
NHibernate Profiler
Balsamiq Mockups
JetBrains - ReSharper
Web Sequence Diagrams
Ducksboard<-- NEW Friend!


Site Copyright © 2007 CodeBetter.Com
Content Copyright Individual Bloggers


Community Server (Commercial Edition)