Run-time code to create charts:

 

tChart1.Series.Clear();

tChart1.Series.Add(new Steema.TeeChart.Styles.Bar());
tChart1.Series[0].Clear();
tChart1.Series[0].Add(123, "ABC", Color.Red);
tChart1.Series[0].Add( 456, "DEF", Color.Blue );
tChart1.Series[0].Add( 321, "GHI", Color.Green );

Change the bar Marks :

tChart1.Series[0].Marks.Style = smsValue ;

To show the editor dialog, use the following code:

tChart1.ShowEditor();

posted @ 2019-03-16 20:01  厦门哈韩  阅读(111)  评论(0编辑  收藏  举报