TAnnotationTool

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
ulibru
Newbie
Newbie
Posts: 54
Joined: Tue Jul 21, 2009 12:00 am

TAnnotationTool

Post by ulibru » Sat Oct 03, 2009 10:02 am

Hi,

I like to use TAnnotationTool. It can be designed to be shown in the edges or in the center of the chart panel. It also is allowed to define a custom position.

Now like to place the annotation inside of the drawn grid of a series chart. E.g. in the corners or in the center of the grid. But depending on the axis labels size the grid size is changing. Thus it is necessary to know about the position of the grid (left, top) and its width and height.

Is it possible to get the information about the actual drawn grid position and size inside of the chart panel? This would allow me to place the annotation correctly.

Thanks, Uli

ulibru
Newbie
Newbie
Posts: 54
Joined: Tue Jul 21, 2009 12:00 am

Re: TAnnotationTool [SOLVED]

Post by ulibru » Sat Oct 03, 2009 11:11 am

I have found a solution by myself.
It is possible to use Chart.ChartRect.Top/Left/Bottom/Right

Uli

Post Reply