Posted 22 Mar 2011 Link to this post
Posted 25 Mar 2011 Link to this post
public partial class Empty2 : UserControl
{
ObservableCollection<
int
> datasource = new ObservableCollection<
>();
int value = 0;
public Empty2()
InitializeComponent();
RadChart1.ItemsSource = datasource;
DispatcherTimer timer = new DispatcherTimer();
timer.Interval = new TimeSpan(0, 0, 0, 1);
timer.Tick += new EventHandler(timer_Tick);
timer.Start();
RadChart1.DefaultSeriesDefinition = new BubbleSeriesDefinition();
RadChart1.DefaultView.ChartArea.EnableAnimations = false;
RadChart1.DefaultView.ChartArea.AxisY.AutoRange = false;
RadChart1.DefaultView.ChartArea.AxisY.MinValue = 0;
RadChart1.DefaultView.ChartArea.AxisY.MaxValue = 100;
RadChart1.DefaultView.ChartArea.AxisY.Step = 5;
}
void timer_Tick(object sender, EventArgs e)
datasource.Add(value);
value++;
Posted 28 Mar 2011 Link to this post
RadChart1.DefaultView.ChartArea.AxisY.Step = 10;
RadChart1.DefaultView.ChartArea.AxisX.AutoRange = false;
RadChart1.DefaultView.ChartArea.AxisX.MinValue = 0;
RadChart1.DefaultView.ChartArea.AxisX.MaxValue = 100;
RadChart1.DefaultView.ChartArea.AxisX.Step = 5;
Posted 11 Apr 2011 Link to this post
Posted 12 Apr 2011 Link to this post
Posted 15 Apr 2011 Link to this post