PreviewPanel issue

TeeChart for ActiveX, COM and ASP
Post Reply
amit
Newbie
Newbie
Posts: 3
Joined: Thu Feb 03, 2005 5:00 am

PreviewPanel issue

Post by amit » Tue Feb 09, 2010 7:18 am

I am using vs 2008 and Teechart7 activex. I am getting following error in my project

Cannot implicitly convert type 'AxTeeChart.AxTChart' to 'TeeChart.TChart'. An explicit conversion exists (are you missing a cast?)

code which giving this error-
axTeePreviewPanel1.AddChart(PrintCharts);

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: PreviewPanel issue

Post by Narcís » Tue Feb 09, 2010 9:58 am

Hi amit,

Try using ChartLink, for example:

Code: Select all

			axTeePreviewPanel1.ChartLink = axTChart1.ChartLink;
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

amit
Newbie
Newbie
Posts: 3
Joined: Thu Feb 03, 2005 5:00 am

Re: PreviewPanel issue

Post by amit » Wed Feb 10, 2010 6:49 am

thanx :) ...It's worked for me..

Post Reply