[Solved] How to get the max axis pixel point ?

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
bertrod
Advanced
Posts: 151
Joined: Wed Sep 07, 2005 4:00 am

[Solved] How to get the max axis pixel point ?

Post by bertrod » Mon Apr 03, 2006 9:46 am

Hello,

I would like to find the Y-pixel which is the maximum point that an axis can have. I mean the Top point of the Backwall.

See my pic :
Image

I can't use axis.maximum value because the axis can have a startPositionPercent <> 0.

I tried to use the chart.walls.back.shapebounds.Top, but it returns me 0.
Last edited by bertrod on Mon Apr 03, 2006 10:31 am, edited 1 time in total.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Apr 03, 2006 10:03 am

Hi bertrod,

Have you tried using:

Code: Select all

  Chart1.ChartRect.Left;
  Chart1.ChartRect.Top;
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

bertrod
Advanced
Posts: 151
Joined: Wed Sep 07, 2005 4:00 am

Post by bertrod » Mon Apr 03, 2006 10:30 am

Thank you, it was just what I needed 8) I should have found it by myself.

Post Reply