public void CreatePlot() { //PlotModel = new PlotModel { Title = "AreaSeries with crossing lines" }; LineSeriesOne.Points.Clear(); LineSeriesOne.Points.Add(new DataPoint(0, 0)); LineSeriesOne.Points.Add(new DataPoint(10, 20)); LineSeriesOne.Points.Add(new DataPoint(30, 1)); LineSeriesOne.Points.Add(new DataPoint(40, 12)); myViewModel.AddToPlot(LineSeriesOne); }