本文主要讲解Delphi 中Chart ,TeeChart 的属性,方法及用法.Tchart 分析报告, TeeChart 使用指南,TeeChart 控件介绍
1.AllowZoom : Boolean
是否允许鼠标拖动来缩放图表
2.AnimatedZoom : Boolean
拖动是否显示缩放过程
3.AxisVisible : Boolean
显示和隐藏4个子图表
4.BufferedDisplay :Boolean
True时图表首先画在内部画布上,可以防止图表闪烁,但耗费内存资源.
5.ChartHeight : LongInt
以像素为单位,运行为只读,显示图表顶轴与底轴的高度,不包含页边距,Height包含页边距,
(**** 转载敬请注明-本文出处:南山古桃(nsgtao)的百度空间:http://hi.baidu.com/nsgtao/ ****)
6. DepthAxis, LeftAxis,RightAxis,TopAxis,BottomAxis
Tchart共分为五个子图表,
LeftAxis,RightAxis,TopAxis,BottomAxis和DepthAxis
默认情况下只显示LeftAxis和BottomAxis子图表
可以通过Series属性的子属性HorizAxis与VertAxis进行设置
如:
chart1.Series[0].HorizAxis := aBothHorizAxis;
chart1.Series[0].VertAxis := aBothVertAxis;
chart1.BottomAxis.Title.Caption := 'nsgtao';
chart1.BottomAxis.Title.Font.Color := clRed;
7.Foot : TChartTitle
在图表底部定义的文本和格式,在图表底部显示一些说明文字
Chart1.Foot.Text.Add('Nsgtao Foot');
(**** 转载敬请注明-本文出处:南山古桃(nsgtao)的百度空间:http://hi.baidu.com/nsgtao/ ****)
8.Gradient : TChartGradient
用于设置图表背景颜色:是否显示背景色,背景色渐变的起始颜色和终止颜色,渐变方向等
转载于:https://my.oschina.net/kavensu/blog/191435