Problem : TChart stops responding.

TeeChart for ActiveX, COM and ASP
Post Reply
TonyVSUK
Advanced
Posts: 163
Joined: Wed Mar 01, 2006 12:00 am

Problem : TChart stops responding.

Post by TonyVSUK » Thu Oct 14, 2010 6:13 pm

I don't have source code that I can give you, but I do have the .TEE file.

If you run the command
TChart1.Import.LoadFromFile(temptee.tee")

And load the attached file, it just hangs indefinitely.

When I construct the graph in my own code, it hangs on the call to SetAutoDraw(TRUE). I saved the .TEE file just before this call.

When it's loaded into VB, it hangs again.

Is there a workaround? And is the .TEE enough for you to work out what the problem is?

Tony.
Attachments
temptee.zip
(36.88 KiB) Downloaded 585 times

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

Re: Problem : TChart stops responding.

Post by Narcís » Fri Oct 15, 2010 9:15 am

Hi Tony,

Yes, using the tee file I could reproduce the problem and to be able to identify what's going on I converted it to a text file:

Code: Select all

    TChart1.Export.ConvertTeeFileToText "c:\temp\temptee.tee", "c:\temp\texttee.tee"
In the text file I found most Pointer.Style properties had corrupted values and failed to load so I removed them.

Then I found the chart just takes some time to load because it's quite big, with lots of series and points but loaded successfully after all. I attach the tee file in text format, does this loads fine at your end? I also attach the file I upload with the VCL version and exported it using this version. Does this makes any difference? Finally, leaving it enough time (not much :) ) I could load your original file.
Attachments
VCLtee.zip
(36.24 KiB) Downloaded 589 times
texttee.zip
(46.21 KiB) Downloaded 560 times
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

TonyVSUK
Advanced
Posts: 163
Joined: Wed Mar 01, 2006 12:00 am

Re: Problem : TChart stops responding.

Post by TonyVSUK » Fri Oct 15, 2010 10:32 am

In the text file I found most Pointer.Style properties had corrupted values and failed to load so I removed them.
Can you tell me which series had the corrupted pointer styles so I can remove them from my code?

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

Re: Problem : TChart stops responding.

Post by Narcís » Fri Oct 15, 2010 10:39 am

Hi Tony,

Sorry, I overwrote the text file so I don't know. You may deduce this from the text file I already attached or from the text file I converted again and which I attach here. You can edit it with notepad, for example, and will see garbled text in some pointer.style settings
Attachments
texttee2.zip
(48.16 KiB) Downloaded 569 times
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

TonyVSUK
Advanced
Posts: 163
Joined: Wed Mar 01, 2006 12:00 am

Re: Problem : TChart stops responding.

Post by TonyVSUK » Fri Oct 15, 2010 3:02 pm

Thanks, found it. Looks like something got corrupted during the save.

Post Reply