Exemplo n.º 1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="simulationOutput"></param>
        public void Update(TestOutput result)
        {
            var viewModel = new BobsGraphViewModel();

            viewModel.UpdateSize(
                (float)GraphArea.ActualWidth,
                (float)GraphArea.ActualHeight,
                2);
            viewModel.UpdateData(result);

            DataContext = viewModel;
        }
Exemplo n.º 2
0
 /// <summary>
 ///
 /// </summary>
 public void Clear()
 {
     DataContext = new BobsGraphViewModel();
 }