예제 #1
0
파일: Emt.cs 프로젝트: ddhe9527/Beijing_SK
 private void button1_Click(object sender, EventArgs e)
 {
     mystyle++;
     tChart1.Series.Clear();
     switch (mystyle)
     {
         case 1:
             Steema.TeeChart.Styles.Radar area = new Steema.TeeChart.Styles.Radar();
             area.Add(data);
             tChart1.Series.Add(area);
             break;
         case 2:
             Steema.TeeChart.Styles.Arrow arrow= new Steema.TeeChart.Styles.Arrow();
             arrow.Add(data);
             tChart1.Series.Add(arrow);
             break;
         case 3:
             Steema.TeeChart.Styles.Bar Bar = new Steema.TeeChart.Styles.Bar();
             Bar.Add(data);
             tChart1.Series.Add(Bar);
             break;
         case 4:
             Steema.TeeChart.Styles.Bar3D Bar3D = new Steema.TeeChart.Styles.Bar3D();
             Bar3D.Add(data);
             tChart1.Series.Add(Bar3D);
             break;
         case 5:
             Steema.TeeChart.Styles.BarJoin BarJoin = new Steema.TeeChart.Styles.BarJoin();
             BarJoin.Add(data);
             tChart1.Series.Add(BarJoin);
             break;
         case 6:
             Steema.TeeChart.Styles.Bezier Bezier = new Steema.TeeChart.Styles.Bezier();
             Bezier.Add(data);
             tChart1.Series.Add(Bezier);
             break;
     }
     if (mystyle > 10)
         mystyle = 0;
 }