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
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
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