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.
Problem : TChart stops responding.
Problem : TChart stops responding.
- Attachments
-
- temptee.zip
- (36.88 KiB) Downloaded 592 times
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Problem : TChart stops responding.
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:
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.
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"
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 594 times
-
- texttee.zip
- (46.21 KiB) Downloaded 566 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 |
Instructions - How to post in this forum |
Re: Problem : TChart stops responding.
Can you tell me which series had the corrupted pointer styles so I can remove them from my code?In the text file I found most Pointer.Style properties had corrupted values and failed to load so I removed them.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Problem : TChart stops responding.
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
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 575 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 |
Instructions - How to post in this forum |
Re: Problem : TChart stops responding.
Thanks, found it. Looks like something got corrupted during the save.