Page 1 of 1

How to use CopyRect() on the canvas of TeeChart VCL

Posted: Tue Nov 21, 2006 10:26 am
by 9343617
I need to do some custom drawing on the canvas of TeeChart 7 (TDBChart) professional but it seems that the canvas exposed by this VCL component does not support anything similar to CopyRect() function provided by normal TCanvas.

Please advise if there is any similar method available or if there is some alternative to achieve the same results.

Thanks in advance for your kind time.

Posted: Tue Nov 21, 2006 10:34 am
by narcis
Hi Sunil,

You can try doing something like this:

Code: Select all

    DBChart1.Canvas.ReferenceCanvas.CopyRect(...);