DateTime.Now.ToString("mm:ss")
string reqTemp = textBox9.Text; textBox2.Text = avTemp.ToString("F"); this.chart1.Series["Actual Temperature"].Points.AddXY(DateTime.Now.ToString("mm:ss"), avTemp); if (checkBox2.Checked == true) { this.chart1.Series["Requested Temperature"].Points.AddXY(DateTime.Now.ToString("mm:ss"), reqTemp); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)