bea.stollnitz.com (Bea Stollnitz on Silverlight and WPF), posted 2009-09-07
BillHenn on 2009-09-07
- 2057 total views
Bea talks about using attached behavior to add labels to a WPF pie chart.
"In my last blog post, I showed how you can use a custom control to add labels to a WPF pie chart. In this post I will discuss its implementation. I started by thinking about what I wanted the usage syntax to look like. Ideally, I would like to create a LabeledPieSeries class that derives from PieSeries, and that exposes a LabelStyle property. This would make using a pie series with labels as easy as using any other chart series, which WPF chart users are already familiar with (the Codeplex charting overview shows what that syntax would look like). Unfortunately, PieSeries is currently sealed, so I had to search for another alternative."
About Bea Stollnitz on Silverlight and WPF
Bea an independent software consultant specializing in WPF and Silverlight technologies. She is president and owner of Zag Studio LLC. Before becoming an independent consultant, she worked at Microsoft for over five years, helping to create the Silverlight and WPF application frameworks. Her blog has a lot of helpful tips related to data binding, controls, and styles. http://bea.stollnitz.com/blog
The WPFpedia resource guide has 37 total links to this site.
There aren't any comments yet for this resource. Be the first to add one!
Add a Comment
Please log in to post comments.