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 and drawing gridlines

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





PostPosted: Fri Feb 17, 2006 7:03 am    Post subject: TeeChart and drawing gridlines Reply with quote



Hi,

I am using the TeeChart that came with Delphi 7.

I want to let the user choose to display a gridline either every increment
(default) or every 2nd increment or every 5th increment.

How do I do this with TeeChart Standard?

I have looked at drawing the lines manually in the Charts AfterDraw event.
Is this the way to so it? If so can someone please give me some example
code.

Thanks
Pete
Back to top
Pete
Guest





PostPosted: Mon Feb 20, 2006 1:03 am    Post subject: Re: TeeChart and drawing gridlines Reply with quote



Anyone got any ideas on this one?
Back to top
Chris Ireland
Guest





PostPosted: Mon Feb 20, 2006 9:03 am    Post subject: Re: TeeChart and drawing gridlines Reply with quote



Hello Pete,

Well, you might want to start by investigating the TChartAxis.Increment
property, e.g.
Chart1.BottomAxis.Increment := 3;

and also looking at the TChartAxis.MinorGrid, e.g.
Chart1.BottomAxis.MinorGrid.Visible := true;
Chart1.BottomAxis.MinorGrid.Style := psDot;
Chart1.BottomAxis.MinorGrid.Color := clMedGray;
Chart1.BottomAxis.MinorTickCount := 1;

Please be aware that we at Steema Software have our own
forums/newsgroups which can be read from:
http://www.steema.com/support/support.html

Best regards,

Christopher Ireland
Steema Sofware
Back to top
Guest






PostPosted: Tue Feb 21, 2006 1:03 am    Post subject: Re: TeeChart and drawing gridlines Reply with quote

Hi Chistopher,

Thanks. I have now got all my gridlines appearing as they should. I
now need to find out how to make them appear when the chart is printed.
:)

Thanks
Pete
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.