Basic operation of "Chart" chart control

1. ChartArea collection

1. Axis, Axes collection

Abscissa name and horizontal axis interval

Horizontal axis min-max

Two, Series collection

Display the ordinate of the point

Legend name and chart type

 3. Titles collection

chart name

4. Add points

chart1.Series["浊度"].Points.AddXY(zdx++, (int)f1 * 50 / 127);

Guess you like

Origin blog.csdn.net/qq_21891843/article/details/124253779