2024年3月11日发(作者:)

using ;

using ;

using ng;

namespace Line_Chart

{

public partial class Form1 : Form

{

public Form1()

{

InitializeComponent();

}

private void button1_Click(object sender, EventArgs e)

{

float x1 = ();

float x2 = ();

float x3 = ();

float x4 = ();

float x5 = ();

float x6 = ();

float x7 = ();

float x8 = ();

float x9 = ();

float x10 = ();

float x11 = ();

float x12 = ();

var chart = reas[0];

alType = ;

= "";

= "";

abelVisible = true;

m = 1;

m = 12;

m = 0;

m = 50;

al = 1;

al = 5;

("line1");

//绘制折线图

["line1"].ChartType = ;

//绘制曲线图

["line1"].ChartType = ;

["line1"].Color = ;

[0].IsVisibleInLegend = false;

["line1"].(1, x1);

["line1"].(2, x2);

["line1"].(3, x3);

["line1"].(4, x4);

["line1"].(5, x5);

["line1"].(6, x6);

["line1"].(7, x7);

["line1"].(8, x8);

["line1"].(9, x9);

["line1"].(10, x10);

["line1"].(11, x11);

["line1"].(12, x12);

}

}

}