http://wpf.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=29117
The good news is that the Chart Components are already officially part from WPF Toolkit.
Until now only Silverlight Toolkit had charts and you had to use a lot of so called “hacks” in order to us them in WPF. For example:
http://yordanpavlov.blogspot.com/2009/03/using-silverlight-charting-control-with.html
Now you can make bar, pie, bubble, scatter, line graphs.....
So review in details the new “cool” charts.
1.Add a reference to the System.Windows.Controls.DataVisualization.Toolki.dll assembly in your project:

2. Add the namespace for the Charting controls

3. Add a chart in XAML :

public Window1()
{
InitializeComponent();
chart.DataContext = new KeyValuePair
new KeyValuePair
new KeyValuePair
new KeyValuePair
new KeyValuePair
new KeyValuePair
}
Here is how charts looks like:

http://silverlight.codeplex.com/Wiki/View.aspx?title=Silverlight%20Toolkit%20Overview%20Part%202
1 comments:
cool!
Post a Comment