Page 1 of 1

Event marker on FastLine series

Posted: Tue Mar 28, 2006 7:34 pm
by 9530253
I am working on a data acquisition application in which I am using FastLine series to display real-time, scrolling, trend plots (time vs signal). I would like to place "event markers" of some sort onto the plot that are tied to a particular x-axis time value so that they scroll as the x-axis scrolls. These markers would indicate where a specific event ocurred, like a valve switch. My preference is that they would be vertical lines that are drawn from the x-axis to the top of the chart, and it would be nice if they could include a short caption.

Marks would seem to come close to what I want to do, but they aren't available to FastLine series. Any suggestions on the best approach for me to take with this?

Thanks,
-Scott

Posted: Wed Mar 29, 2006 8:13 am
by narcis
Hi Scott,

Marks are available in FastLine series. Other options would be:

1) Using ColorLine tools, and custom draw the caption on TeeChart's canvas using its TextOut or RotateLabel methods.
2) Using Annoation tools.
3) Custom drawing lines and captions on TeeChart's canvas using the mehtods specified above, MoveTo and LineTo.

Posted: Wed Mar 29, 2006 11:59 pm
by 9530253
Narcis,
narcis wrote: Marks are available in FastLine series.
Thanks - I just assumed they weren't available based on the description of the FastLine series in the help file ("FastLineSeries has no clicking support and no Marks"). I will give this and your other suggestions a try and see what will work for me.

Best regards,
-Scott