Page 1 of 1

series marks error

Posted: Thu Nov 30, 2006 1:30 am
by 9532946
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

Posted: Thu Nov 30, 2006 9:10 am
by narcis
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.