TeeChart设置图表的标题

 TeeChart的图表的标题设置方法

tChart1.Header.Text = "图表";
tChart1.Header.Lines = new string[] { "图表1","图表2","图表3" }; //标题

 

设置Header的Text或者Lines,任选一个即可,这两个是会相互覆盖的

Text仅仅设置一行;The Text property is used to display customized strings inside Shapes.

 

 

 

 

Lines;Access to array of Text lines,Use lines to add multiline text to TeeChart's text objects (TeeChart Header, TeeChart Axis Titles etc.).

 

posted @ 2014-09-03 15:23  ChuckLu  阅读(3770)  评论(0编辑  收藏  举报