private void Model_evtTempingsStarted() { graphTemps.Clear(); //graphTemps2.Clear(); graphTempsCount = 0; //plotter.Children.RemoveAll(typeof(LineGraph)); graphTemps = new TemperaturePointCollection(); graphTempsCount = 0; var ds = new EnumerableDataSource<TemperaturePoint>(graphTemps); ds.SetXMapping(x => (double)x.Count); ds.SetYMapping(y => y.Pressure); // plotter.AddLineGraph(ds, Colors.Green, 1, "T1"); // plotter.LegendVisible = false; }
private void Model_evtTempingsStarted() { graphTemps.Clear(); graphTemps2.Clear(); graphTempsCount = 0; }