Back Image Custom Position

TeeChart for ActiveX, COM and ASP
Post Reply
nbp
Newbie
Newbie
Posts: 83
Joined: Mon Sep 18, 2006 12:00 am

Back Image Custom Position

Post by nbp » Wed Feb 25, 2009 10:41 pm

How can I set the Custom Image Position (Boolean variable) to True ? What property of CTChart should I set? I'm using Visual C++? I also need to set the Custom Position (left and Top) via the code.

Thanks.

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Post by Yeray » Fri Feb 27, 2009 9:57 am

Hi nbp,

Have you tried doing something like this?

Code: Select all

m_Chart1.GetPanel().GetBackImage().SetMode(3);
m_Chart1.GetPanel().GetBackImage().SetLeft(100);
m_Chart1.GetPanel().GetBackImage().SetTop(100);
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

nbp
Newbie
Newbie
Posts: 83
Joined: Mon Sep 18, 2006 12:00 am

Post by nbp » Fri Feb 27, 2009 9:55 pm

In my version of TChart (v 7) I don't have the GetBackImage() method. I just have GetBackImageMode();

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Post by Yeray » Mon Mar 02, 2009 11:05 am

Hi nbp,

Yes, these properties are available from TeeChart v8. If you want to load an image in v7 I think you'll have to use TChart1.Canvas.Draw method at OnBeforeDrawChart event.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply