Copying a Teechart

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
vijay
Newbie
Newbie
Posts: 36
Joined: Mon Sep 26, 2005 4:00 am

Copying a Teechart

Post by vijay » Fri Oct 20, 2006 9:59 am

I have a teechart on Tab1..when I try to copy the teechart onto Tab2..I am missing all the information like piecharts/bars bgcolor,axes etcc everything...I am getting a plain chart copied..How to do this?

teechart on Tab1
http://i11.tinypic.com/4caxl3t.jpg

teechart copied onto Tab2
http://i11.tinypic.com/2epr2tx.jpg

Thanks in advance

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

Post by Narcís » Fri Oct 20, 2006 10:21 am

Hi vijay,

You can export the chart to a native .ten file and import it in the other tab. For more information on how to import and export charts please read Tutorial 12 - Exporting and Importing Charts. You'll find the tutorials at TeeChart's program group.
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

vijay
Newbie
Newbie
Posts: 36
Joined: Mon Sep 26, 2005 4:00 am

Post by vijay » Fri Oct 20, 2006 10:33 am

Thanx for ur reply...but I couldnt find any format .ten when I right click on a chart and export

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

Post by Narcís » Fri Oct 20, 2006 11:33 am

Hi vijay,

You should select the "Native" tab in the chart export dialog to export a TeeChart native template file.
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

vijay
Newbie
Newbie
Posts: 36
Joined: Mon Sep 26, 2005 4:00 am

Post by vijay » Fri Oct 20, 2006 11:45 am

and while importing it onto a new tab..atfirst I have to create an empty chart and then say import ..right?
Thanx

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

Post by Narcís » Fri Oct 20, 2006 12:00 pm

Hi vijay,

Yes, this is what you should do.
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

vijay
Newbie
Newbie
Posts: 36
Joined: Mon Sep 26, 2005 4:00 am

Post by vijay » Fri Oct 20, 2006 12:08 pm

Thanx Narcis :D

vijay
Newbie
Newbie
Posts: 36
Joined: Mon Sep 26, 2005 4:00 am

Post by vijay » Fri Oct 20, 2006 1:00 pm

For example I had 2 lines and a bar on a chart on Tab1 and when I copied onto another tab the way you suggested...I see the same image,but no lines and bar :(

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

Post by Narcís » Fri Oct 20, 2006 1:55 pm

Hi vijay,

Have you checked the "include series data" checkbox when exporting the chart?
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

vijay
Newbie
Newbie
Posts: 36
Joined: Mon Sep 26, 2005 4:00 am

Post by vijay » Fri Oct 20, 2006 2:03 pm

narcis wrote:Hi vijay,

Have you checked the "include series data" checkbox when exporting the chart?
I did..it looks the same , as it is copied...but I cant use
line1->Add(...) on this new tab
but when i right click on chart on new tab, in properties there is line1

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

Post by Narcís » Fri Oct 20, 2006 2:52 pm

Hi vijay,

It works fine here doing this at design-time with latest TeeChart for .NET v2 maintenance release available at the client area. Could you please send us an example we can run "as-is" to reproduce the problem here and let us know which TeeChart version are you using?

You can post your files at news://www.steema.net/steema.public.attachments newsgroup.

Thanks in advance.
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

Post Reply