Creating A Chart With 2 Y Axis

  //——————————– //—– DO CHART BASIC SETUP —– //——————————– System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = (new System.Windows.Forms.DataVisualization.Charting.ChartArea()); System.Windows.Forms.DataVisualization.Charting.Legend legend1 = (new System.Windows.Forms.DataVisualization.Charting.Legend()); chartArea1.AxisX.TitleFont = new System.Drawing.Font("Arial", 9); chartArea1.AxisY.TitleFont = new System.Drawing.Font("Arial", 9); chartArea1.AxisY2.TitleFont = new System.Drawing.Font("Arial", 9); //—– SETUP X AXIS (TIME) —– chartArea1.AxisX.Title = "Secs"; chartArea1.AxisX.Minimum = 0; chartArea1.AxisX.Maximum = (ApMain.GRAPHS_BUFFER_LOG_EVERY_SECS * ApMain.GRAPHS_BUFFER_LENGTH); chartArea1.AxisX.Interval = 60; //Axis […]

Read More