Hi,
Could somebody please helt me.
I'm using TeeChart 6 Delphi 7.
I would like to add a point to my chart with a label having an angle. Could you please teel me the property to set. I can see that in TeeChart 7 the TSeriesMarks obj has an Angle property, but this is not the case in TeeChart 6. Where can I set the angle ?
Small example:
var
PSeries: TPointSeries;
begin
PSeries:= TPointSeries.Create(nil);
PSeries.Marks.Style := smsLabel;
PSeries.Marks.Visible := True;
// ?? PSeries.Marks.Angle <- does not exist !
PSeries.AddXY(StrToFloat(eX.Text),StrToFloat(eY.Text),'ged') ;
Chart1.AddSeries(PSeries);
end;
Regards,
-Torben
Marks Angle
Hi Torben,
strange.. I've TC v6.01 for Delphi7 installed here and exists.
Also, you can check on example of this taht is included in the Demo features project under :
All Features -> Welcome ! -> Miscellaneous -> Series Marks -> Rotation Angle.
strange.. I've TC v6.01 for Delphi7 installed here and exists.
Also, you can check on example of this taht is included in the Demo features project under :
All Features -> Welcome ! -> Miscellaneous -> Series Marks -> Rotation Angle.
Pep Jorge
http://support.steema.com
http://support.steema.com
more Marks
Strange - I't doesn't appear here. If I try to write to the property I get an "undeclared Identifier : 'Angle' " when trying to compile ... ?
In the Chart Editor I can rotate angles etc .....I don't get it - is there an error in my installtion or am I missing an update or something ?
The example is simple enough:
procedure TForm1.Button1Click(Sender: TObject);
var
PSeries: TPointSeries;
Angle : Integer;
begin
PSeries:= TPointSeries.Create(nil);
PSeries.Marks.Transparent := True;
PSeries.Marks.Style := smsLabel;
Angle := StrToInt(eAngle.Text);
PSeries.Marks.Angle := Angle;
PSeries.Marks.Visible := True;
PSeries.AddXY(StrToFloat(eX.Text),StrToFloat(eY.Text),eText.Text) ;
Chart1.AddSeries(PSeries);
end;
-Torben
In the Chart Editor I can rotate angles etc .....I don't get it - is there an error in my installtion or am I missing an update or something ?
The example is simple enough:
procedure TForm1.Button1Click(Sender: TObject);
var
PSeries: TPointSeries;
Angle : Integer;
begin
PSeries:= TPointSeries.Create(nil);
PSeries.Marks.Transparent := True;
PSeries.Marks.Style := smsLabel;
Angle := StrToInt(eAngle.Text);
PSeries.Marks.Angle := Angle;
PSeries.Marks.Visible := True;
PSeries.AddXY(StrToFloat(eX.Text),StrToFloat(eY.Text),eText.Text) ;
Chart1.AddSeries(PSeries);
end;
-Torben
Hi, Torben.
If you get it at design time then the feature is most likely there Perhaps the problem is Delphi is somehow still referencing old dcu files. Make sure Teechart v6.01 Delphi7\Lib\ folder is first in the library path list. Also, try switching to "Build with the runtime packages" option. If it works, then the problem is in old dcu files.
BTW, have you tried compiling/running TeeChart v6 demo program ? It includes the marks angle example and if the problem is in dcu files, then you won't be able to compile it as well.
If you get it at design time then the feature is most likely there Perhaps the problem is Delphi is somehow still referencing old dcu files. Make sure Teechart v6.01 Delphi7\Lib\ folder is first in the library path list. Also, try switching to "Build with the runtime packages" option. If it works, then the problem is in old dcu files.
BTW, have you tried compiling/running TeeChart v6 demo program ? It includes the marks angle example and if the problem is in dcu files, then you won't be able to compile it as well.
Marjan Slatinek,
http://www.steema.com
http://www.steema.com