给一段我程序中的部分代码你看看begin with Chart1,Canvas do begin Pen.Color:=RGB(192,192,192); Pen.Style:=CrossHairStyle; Pen.Mode:=pmXor; Pen.Width:=1; MoveTo(Ax,ChartRect.Top-Height3D); LineTo(Ax,ChartRect.Bottom-Height3D); MoveTo(ChartRect.Left+Width3D,Ay); LineTo(ChartRect.Right+Width3D,Ay); end; end;
with Chart1,Canvas do
begin
Pen.Color:=RGB(192,192,192);
Pen.Style:=CrossHairStyle;
Pen.Mode:=pmXor;
Pen.Width:=1;
MoveTo(Ax,ChartRect.Top-Height3D);
LineTo(Ax,ChartRect.Bottom-Height3D);
MoveTo(ChartRect.Left+Width3D,Ay);
LineTo(ChartRect.Right+Width3D,Ay);
end;
end;