Esempio n. 1
0
 public void Plot(Series series)
 {
     Execute.OnUIThreadEx(() =>
     {
         try
         {
             Chart.Series.Add(series);
             Chart.ChartAreas[0].RecalculateAxesScale();
         }
         catch (Exception ex)
         {
             LogManager.GetLog(typeof(PlotSinkViewModel)).Error(ex);
         }
     });
 }
Esempio n. 2
0
 public void Plot(Chart newChart)
 {
     Execute.OnUIThreadEx(() => Chart = newChart);
 }