using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using System.Collections.ObjectModel;
using System.Windows.Threading;
using Telerik.Windows.Controls.Charting;
using System.Data;

namespace WpfApplication6
{
	/// <summary>
	/// Interaction logic for Window1.xaml
	/// </summary>
	public partial class Window1 : Window
	{
		public Window1()
		{
			InitializeComponent();

			DataSeries series = new DataSeries();
			series.Definition = new PieSeriesDefinition();

			series.Add(new DataPoint() { YValue = 20 });
			series.Add(new DataPoint() { YValue = 95 });
			series.Add(new DataPoint() { YValue = 50 });
			series.Add(new DataPoint() { YValue = 60 });
			series.Add(new DataPoint() { YValue = 80 });
			series.Add(new DataPoint() { YValue = 30 });

			RadChart1.DefaultView.ChartArea.DataSeries.Add(series);
		}
	}

}

