public ReportDataViewModel() { keyPoints = new ObservableCollection <KeyPointViewModel>() { new KeyPointViewModel { HoldTime = "3.01", Area = "2.78" }, new KeyPointViewModel { HoldTime = "9.752", Area = "15.2" }, new KeyPointViewModel { HoldTime = "15.24", Area = "5.421" }, new KeyPointViewModel { HoldTime = "25.12", Area = "5.321" }, new KeyPointViewModel { HoldTime = "", Area = "" } }; graph = new Bitmap(1501, 578); Date = DateTime.Now.ToString("dd,MM,yyyy"); Time = DateTime.Now.ToString("hh:mm:ss"); DataProcessing dataProcessing = DataProcessing.GetInstance(); dataProcessing.ClearGraph(graph); dataProcessing.DrawGrid(graph); }