public StackedArea()
 {
     InitializeComponent();
     (Chart.SecondaryAxis as NumericalAxis).Maximum = 170;
     (Chart.SecondaryAxis as NumericalAxis).Minimum = 0;
     viewModel = Chart.BindingContext as ViewModel;
     UpdateData();
 }
 public LiveUpdate()
 {
     InitializeComponent();
     viewModel = Chart.BindingContext as ViewModel;
     viewModel.LoadData1();
     (Chart.SecondaryAxis as NumericalAxis).Maximum = 1.5;
     (Chart.SecondaryAxis as NumericalAxis).Minimum = -1.5;
 }
 public AutoScrolling()
 {
     InitializeComponent();
     viewModel =  Chart.BindingContext as ViewModel;
     viewModel.LoadData();
     (Chart.PrimaryAxis as DateTimeAxis).AutoScrollingDelta = 5;
     (Chart.PrimaryAxis as DateTimeAxis).AutoScrollingDeltaType = DateTimeDeltaType.Seconds;
     (Chart.SecondaryAxis as NumericalAxis).Maximum = 100;
     (Chart.SecondaryAxis as NumericalAxis).Minimum = 0;
 }
 public StackedArea100()
 {
     InitializeComponent();
     viewModel = Chart.BindingContext as ViewModel;
     UpdateData();
 }