| View previous topic :: View next topic |
| Author |
Message |
Pete Guest
|
Posted: Fri Feb 17, 2006 7:03 am Post subject: TeeChart and drawing gridlines |
|
|
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
|
Posted: Mon Feb 20, 2006 1:03 am Post subject: Re: TeeChart and drawing gridlines |
|
|
Anyone got any ideas on this one? |
|
| Back to top |
|
 |
Chris Ireland Guest
|
Posted: Mon Feb 20, 2006 9:03 am Post subject: Re: TeeChart and drawing gridlines |
|
|
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
|
Posted: Tue Feb 21, 2006 1:03 am Post subject: Re: TeeChart and drawing gridlines |
|
|
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 |
|
 |
|