Is there an example program available that shows the surfacew chart. We have a small program to illustrate the surface as below:
The parameters are:
3Dimensions:checked;
Othoganal:Unchecked;
Rotation:=0;
Elevation:=0;
zoom:=100%
When we execute this and draw the chart, the chart is blank. If we hjad an example, that would help.
Thanks,
Natalie
type
TForm1 = class(TForm)
Chart1: TChart;
Button1: TButton;
Series1: TSurfaceSeries;
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
public
Procedure DrawChart;
end;
var
Form1: TForm1;
implementation
{$R *.DFM}
Procedure Tform1.drawchart;
var
x,y:Integer;
value:Extended;
Begin
for x:=1 to 90 Do
for y:=1 to 90 Do Begin
value:=x*y;
series1.addxyz(x,y,value);
end;
end;//dreawchart
procedure TForm1.Button1Click(Sender: TObject);
begin
drawchart;
end;
**********************************************************
surface chart
-
- Newbie
- Posts: 9
- Joined: Fri Nov 15, 2002 12:00 am
- Location: Dallas Tx
Hi Jennifer,
a simple example could be :
You can see more examples and info in the Demo Features project (included in the TeeChart Pro installation) and in the Help file.
a simple example could be :
Code: Select all
procedure TForm1.FormCreate(Sender: TObject);
var
x,z:Integer;
value:Extended;
Begin
for x:=1 to 90 Do
for z:=1 to 90 Do Begin
value:=x*z;
series1.addxyz(x,value,z);
end;
Pep Jorge
http://support.steema.com
http://support.steema.com
-
- Newbie
- Posts: 9
- Joined: Fri Nov 15, 2002 12:00 am
- Location: Dallas Tx
Thanks-
It works perfect! Thanks-
We downloaded Teechart VII this eveniong and looking forward tom it.
Jennifer
We downloaded Teechart VII this eveniong and looking forward tom it.
Jennifer