BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TeeChart PointSeries CustomAxes crossing to center

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Reporting-Charting
View previous topic :: View next topic  
Author Message
Angelos Markos
Guest





PostPosted: Mon Oct 11, 2004 7:04 pm    Post subject: TeeChart PointSeries CustomAxes crossing to center Reply with quote



Hi,

I use Teechart components with Delphi 7. My purpose is to create a
scatterplot (pointseries) and I use 2 custom axes instead of the
existing ones. My problem is that I want them to pass though the
center 0,0.

Using the following code:

......
testfrm.CustomAxes.Add;
tmpVertAxis:=testfrm.Chart1.CustomAxes[0];
tmpVertAxis.PositionPercent := 50;
Series1.CustomVertAxis:=tmpVertAxis;
......
testfrm.Chart1.CustomAxes.Add;
tmpHorizAxis:=testfrm.Chart1.CustomAxes[1];
tmpHorizAxis.Horizontal:=True;
tmphorizAxis.PositionPercent := 50;
Series1.CustomHorizAxis:=tmpHorizAxis;

the axes cross in the middle of the chart. Thus, I don't get what I
expect.
I thought that I have to calculate the right PositionPercent but I'm
not sure If it is
the right way. Is there a better way/solution to this?

Thank you in advance
-AM
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Reporting-Charting All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.