TCustomChart.CalcAxisRect

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
fabnav
Newbie
Newbie
Posts: 8
Joined: Thu Sep 30, 2004 4:00 am
Location: Northern Virginia

TCustomChart.CalcAxisRect

Post by fabnav » Fri Oct 21, 2005 12:27 am

Hi,

I'm finally getting around to converting my application to using TeeChartPro 7, from the TeeChart that came with Delphi 7, which I'm still using.

I had been overriding the CalcAxisRect method, but it doesn't exist in TeeChartPro 7. Does anyone know what I should use instead?

Regards,

Bill

Pep
Site Admin
Site Admin
Posts: 3303
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Mon Oct 24, 2005 11:58 am

Hi Bill,

yes, you're correct, this procedure is not published in the Pro version (I must investigate why).
Why you need this method ? Most likely it could be accomplished in other way.

fabnav
Newbie
Newbie
Posts: 8
Joined: Thu Sep 30, 2004 4:00 am
Location: Northern Virginia

Post by fabnav » Tue Oct 25, 2005 2:08 pm

I was setting up axis properties such as LabelsSize, RoundFirstLabel, and Increment, and calling SetMinMax.

Regards,

Bill

Pep
Site Admin
Site Admin
Posts: 3303
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Wed Oct 26, 2005 3:55 pm

Hi Bill,

I've investigated and it's because we made several improvements as far as drawing speed goes. But now there are other methods available which can be used (better) to do what you did with CalcAxisRect.
Please see the Help to check which properties you must use to set the axis and axis labels aspect.

If you still having problems or cannot find how to do something do not hesitate to let us know here.

Post Reply