TChart是delphi里面一个标准的图形显示控件。它可以静态设计(at design time)也可以动态生成。
TObject TPersistent TComponent TControl TCustomControl TWedgetControl TChart TCustomPanel
TObject
TPersistent
TComponent
TControl
TCustomControl
TWedgetControl
TChart
TCustomPanel
设置BottomAxis或者LeftAxis的Automatic:=false并同时设置Minimum,Maximum属性
//设置底座标
with myChart.BottomAxis do
begin
Automatic:=false;
Minimum:=0;
LabelStyle := talText;
end;
//设置左坐标
with myChart.LeftAxis do
Title.Angle:=270;
Title.Font:=Self.Font;
Title.Font.Charset:=ANSI_CHARSET;
Title.Font.Name:=''''@宋体'''';
Grid.Visible := False;
//设置右坐标
with myChart.RightAxis do
[1] [2] [3] 下一页
Copyright @ 2007-2012 敏韬网(敏而好学,文韬武略--MinTao.Net)(学习笔记) Inc All Rights Reserved. 闵涛 E_mail:admin@mintao.net(欢迎提供学习资源)
鄂公网安备 42011102001154号
站长:MinTao ICP备案号:鄂ICP备11006601号-18