On tchart control - getting a very bad thick line
On tchart control - getting a very bad thick line
I am using Teechart ProActiveX control V5 in my application. (plotting graph)
I am getting a very thick line that has a black stripe at top and a white stripe below it with the number '0' written at the head of the line.
This happens after I programatically add and subtract series to the graph. In other words - originally I have 3 series (plotting lines) on my graph. I remove a series and readd it several times. After about the third or fourth time of removing and readding - I get instead of a normal plotting line for 1 of the series - a very ugly fat line as mentioned above. What is happenning???
I am getting a very thick line that has a black stripe at top and a white stripe below it with the number '0' written at the head of the line.
This happens after I programatically add and subtract series to the graph. In other words - originally I have 3 series (plotting lines) on my graph. I remove a series and readd it several times. After about the third or fourth time of removing and readding - I get instead of a normal plotting line for 1 of the series - a very ugly fat line as mentioned above. What is happenning???
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi akiva,
Could you please send us an example we can run "as-is" to reproduce the problem here?
You can post your files at [url]news://www.steema.net/steema.public.attachments[/url] newsgroup.
Thanks in advance.
Could you please send us an example we can run "as-is" to reproduce the problem here?
You can post your files at [url]news://www.steema.net/steema.public.attachments[/url] 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 |
Instructions - How to post in this forum |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi akiva,
You just need to add www.steema.net as a news server in your newsreader with the default settings. This error may be because you didn't specify any user/sender information. If you want you can use any nick or fake e-mail address so that your real identity isn't disclosed.
You just need to add www.steema.net as a news server in your newsreader with the default settings. This error may be because you didn't specify any user/sender information. If you want you can use any nick or fake e-mail address so that your real identity isn't disclosed.
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 |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi akiva,
Thanks for the files: Would you be so kind to arrange a simple example we can run "as-is" to reproduce this problem here?
Thanks in advance.
Thanks for the files: Would you be so kind to arrange a simple example we can run "as-is" to reproduce this problem here?
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 |
Instructions - How to post in this forum |
Hi Narcis:
I posted 2 separate mails in the steema attachments since the files I am sending are large so it may take a short while.
I wrote this in the attachments also:
I am attaching 2 zip files (2 emails) due to the large size.
Copy the enclosed files to your C: directory. The exalt.exe should be put in the bin directory with most of the other files.
Copy the enclosed files from your C: directory.
You must register the 2 ocx files (Regsvr32 path_of_ocx_file)
DClick on Exalt.exe - always press cancel on the Installing dialog as Exalt is coming up. (you might have to press about 20 times.)
Click on the file icon in the upper left hand side - and select from the menu items - "Load Package".
Load the file config/For Narcis.pak.
Go to Upper left hand part of screen and make sure you are in Lab (is a button) - Watch (is a tab).
You should see a TeeChart time plot graph.
Go to the lower part of left side (Access Board). Press on Groups tab. Open tree to Virtual Modules/For Narcis/MsgType0/EU two.
Now just drag with your mouse from EU two to the graph. You will now see 2 EUs being displayed on graph.
RClick on the graph where you see the word "EU two" and select the menu item to delete it.
Repeat the last 2 steps about 5 times (dragging EU two to graph and then deleting it.)
You should see a big white streak for EU two. (this is simillar to what I was describing that I was getting for myself)
I think the problem is connected with you teechart function - RemoveSeries(m_euIndexToBeDeleted) as when I removed this line I did not get this
problem but of course I need to call this function for the chart to work properly.
Thanks,
Akiva
I posted 2 separate mails in the steema attachments since the files I am sending are large so it may take a short while.
I wrote this in the attachments also:
I am attaching 2 zip files (2 emails) due to the large size.
Copy the enclosed files to your C: directory. The exalt.exe should be put in the bin directory with most of the other files.
Copy the enclosed files from your C: directory.
You must register the 2 ocx files (Regsvr32 path_of_ocx_file)
DClick on Exalt.exe - always press cancel on the Installing dialog as Exalt is coming up. (you might have to press about 20 times.)
Click on the file icon in the upper left hand side - and select from the menu items - "Load Package".
Load the file config/For Narcis.pak.
Go to Upper left hand part of screen and make sure you are in Lab (is a button) - Watch (is a tab).
You should see a TeeChart time plot graph.
Go to the lower part of left side (Access Board). Press on Groups tab. Open tree to Virtual Modules/For Narcis/MsgType0/EU two.
Now just drag with your mouse from EU two to the graph. You will now see 2 EUs being displayed on graph.
RClick on the graph where you see the word "EU two" and select the menu item to delete it.
Repeat the last 2 steps about 5 times (dragging EU two to graph and then deleting it.)
You should see a big white streak for EU two. (this is simillar to what I was describing that I was getting for myself)
I think the problem is connected with you teechart function - RemoveSeries(m_euIndexToBeDeleted) as when I removed this line I did not get this
problem but of course I need to call this function for the chart to work properly.
Thanks,
Akiva
Hi Narcis:
I had problems sending the files to you with steema.public.attachments so I used YouSendIt. Click on the following link below to retrieve the files.
.......................................
You can click on the following link to retrieve your file. The link will expire in 7 days
and will be available for a limited number of downloads.
All files For Narcis.zip (2770 KB)
This email was automatically generated, please do not reply to it.
If you have any questions, please email [email protected].
The YouSendIt Team
If your email client does not accept HTML, please use this link to download your file:
http://s44.yousendit.com/d.aspx?id=1XW9 ... I851JDO353
I had problems sending the files to you with steema.public.attachments so I used YouSendIt. Click on the following link below to retrieve the files.
.......................................
You can click on the following link to retrieve your file. The link will expire in 7 days
and will be available for a limited number of downloads.
All files For Narcis.zip (2770 KB)
This email was automatically generated, please do not reply to it.
If you have any questions, please email [email protected].
The YouSendIt Team
If your email client does not accept HTML, please use this link to download your file:
http://s44.yousendit.com/d.aspx?id=1XW9 ... I851JDO353
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi akiva,
Thanks for caring about that. I already downloaded the files but I have some problems following your steps.
I extracted your .zip file at C:\All files For Narcis\. I registered Tab32x30.ocx and didn't register TeeChart5.ocx as it was already registered on my machine. Then I try to run exalt.exe that can be found at C:\All files For Narcis\bin and I get the following error:
BTW: I couldn't see any source code for that project in the .zip file you sent. If you don't want to disclose them you can send me a private message in the forums with the yousendit.com link to download them. Having the sources for the project would be very helpful to find out what is causing the problem.
Thanks in advance.
Thanks for caring about that. I already downloaded the files but I have some problems following your steps.
I extracted your .zip file at C:\All files For Narcis\. I registered Tab32x30.ocx and didn't register TeeChart5.ocx as it was already registered on my machine. Then I try to run exalt.exe that can be found at C:\All files For Narcis\bin and I get the following error:
I didn't found that .dll on my hard drive. Could you please tell me what I'm missing or if I'm doing something wrongly?---------------------------
Exalt.exe - Unable To Locate Component
---------------------------
This application has failed to start because exc708ms.dll was not found. Re-installing the application may fix this problem.
---------------------------
OK
---------------------------
BTW: I couldn't see any source code for that project in the .zip file you sent. If you don't want to disclose them you can send me a private message in the forums with the yousendit.com link to download them. Having the sources for the project would be very helpful to find out what is causing the problem.
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 |
Instructions - How to post in this forum |
Hi Narcis:
I used YouSendIt again
http://s49.yousendit.com/d.aspx?id=3U2N ... OX8GAR3P69
Put all these files in your bin directory.
I also attached a cpp file - take a look especially at GraphicTimePlotChart::OnRemoveEUFromGraph().
- akiva
I used YouSendIt again
http://s49.yousendit.com/d.aspx?id=3U2N ... OX8GAR3P69
Put all these files in your bin directory.
I also attached a cpp file - take a look especially at GraphicTimePlotChart::OnRemoveEUFromGraph().
- akiva
Hi Narcis again:
See my previous email in which I sent some more files via yousendit. I forgot 1 more dll file so I made another YouSendIt path.
http://s42.yousendit.com/d.aspx?id=3143 ... D1BU5VJXUL
thanks,
Akiva
See my previous email in which I sent some more files via yousendit. I forgot 1 more dll file so I made another YouSendIt path.
http://s42.yousendit.com/d.aspx?id=3143 ... D1BU5VJXUL
thanks,
Akiva
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi akiva,
Thank you very much for caring about that. Finally I could get your application working on my machine.
I've replied to your newsgroups message with a screen-shot of my tests. I could reproduce what you reported. What appears are the series marks. You could just force them not being visible by setting TChart1.Series(Index).Marks.Visible=False every time you do the operation that causes this problem. You could also do a loop to force that for each series on the chart.
Thank you very much for caring about that. Finally I could get your application working on my machine.
I've replied to your newsgroups message with a screen-shot of my tests. I could reproduce what you reported. What appears are the series marks. You could just force them not being visible by setting TChart1.Series(Index).Marks.Visible=False every time you do the operation that causes this problem. You could also do a loop to force that for each series on 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 |
Instructions - How to post in this forum |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
You're welcome. I'm glad to hear that solved the problem.
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 |