Page 1 of 1

TAnnotationTool

Posted: Sat Oct 03, 2009 10:02 am
by 10553945
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

Re: TAnnotationTool [SOLVED]

Posted: Sat Oct 03, 2009 11:11 am
by 10553945
I have found a solution by myself.
It is possible to use Chart.ChartRect.Top/Left/Bottom/Right

Uli