I'm using TChart ActiveX v7. I need to set the BackImage for the chart after the user has selected the image file from a file selector dialog. Is there an example of this? What property of the "Panel" do I set?
m_pChart->GetPanel().Set?????
Thanks.
Setting the Back Image for TChart
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi nbp,
You should use m_Chart1.GetPanel().BackImageLoad() method.
You should use m_Chart1.GetPanel().BackImageLoad() method.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Hello,
there's not a method to get the FileName, but it's not required as once you runt the BackImageLoad, the image is part of the TChart component, so the image file i snot required. This means that if you export the Chart to .tee the image is included automatically ( but not as a file ).
there's not a method to get the FileName, but it's not required as once you runt the BackImageLoad, the image is part of the TChart component, so the image file i snot required. This means that if you export the Chart to .tee the image is included automatically ( but not as a file ).
Pep Jorge
http://support.steema.com
http://support.steema.com