series marks error

TeeChart for ActiveX, COM and ASP
Post Reply
Russ
Newbie
Newbie
Posts: 18
Joined: Thu Nov 02, 2006 12:00 am
Location: Chattanooga, TN
Contact:

series marks error

Post by Russ » Thu Nov 30, 2006 1:30 am

Hi: In my code I clear and update the series on my bar chart once per second. I added series marks so that I could see the value of each bar.

TChart3.Series(0).Marks.Visible = True

I got the bright idea (from one of your examples, "Movemarks") to make those marks moveable - which would be especially useful when the bars are close together and the marks are crowded. I used the code from your "Movemarks" example and started getting this error message when I tried to move a mark at runtime:
Image

The error occurs, I beleive, when I'm trying to move a mark and my series is cleared, and redrawn by my code (happens every 1 second). The simple fix is to stop my update process before allowing marks to be moved. I just wanted to bring this to your attention in case there is a better way to handle this error in later release.

Best Regards,
russ

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

Post by Narcís » Thu Nov 30, 2006 9:10 am

Hi Russ,

Could you please send us a simple example we can run "as-is" to reproduce the problem here?

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