Hi,
I am trying to use a ColorLine to mark an event in a real-time chart that adds data (like a strip chart). This event needs to have text associated with the line and I can not seem to find a way to accomplish this simple task.
I've tried an Annotation but can't seem to link it to the position of the line.
Any suggesstions?
Jim
ColorLine with text?
Hi Jim,
I've posted an VB:Net example into the steema.public.attachments newsgroup which show how to do this.
I've posted an VB:Net example into the steema.public.attachments newsgroup which show how to do this.
Pep Jorge
http://support.steema.com
http://support.steema.com
Hi Pep,
I took a look at you sample and we (another developer and I) had looked at annotations but they have a flaw.
If you change your VB sample project so that the graph object is anchored to all four borders (Top, Left, Bottom, Right) and resize, the annotations do not stay with the line. Maximizing then minimizing has a similar behavior.
More event hooks are needed to make sure the annotations stay with the line.
Jim
I took a look at you sample and we (another developer and I) had looked at annotations but they have a flaw.
If you change your VB sample project so that the graph object is anchored to all four borders (Top, Left, Bottom, Right) and resize, the annotations do not stay with the line. Maximizing then minimizing has a similar behavior.
More event hooks are needed to make sure the annotations stay with the line.
Jim
-
- Site Admin
- Posts: 1349
- Joined: Thu Jan 01, 1970 12:00 am
- Location: Riudellots de la Selva, Catalonia
- Contact:
Hi Jim,
Many thanks!
I'm afraid I can't reproduce this one here; could you please give me step-by-step instructions on how to do so with reference to Pep's test project?If you change your VB sample project so that the graph object is anchored to all four borders (Top, Left, Bottom, Right) and resize, the annotations do not stay with the line. Maximizing then minimizing has a similar behavior.
Many thanks!
Thank you!
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/
Hi Chris,
1) Go to the Form1.vb Designer screen and change the Anchor to Top,Left,Bottom, Right.
2) Recompile and Run.
3) Put the line anywhere in the graph and move the mouse pointer straight up outside the graph area.
4) Resize the window and the text will not follow the series lines but does stick to the line.
5) Move the line within the graph again and move the mouse pointer out. This time click the maximize button.
6) Move the line again, move the mouse pointer out and then minimize the button. The labels are most usually not visible on my screen but will most certainly be off on any screen.
Thanks,
Jim
1) Go to the Form1.vb Designer screen and change the Anchor to Top,Left,Bottom, Right.
2) Recompile and Run.
3) Put the line anywhere in the graph and move the mouse pointer straight up outside the graph area.
4) Resize the window and the text will not follow the series lines but does stick to the line.
5) Move the line within the graph again and move the mouse pointer out. This time click the maximize button.
6) Move the line again, move the mouse pointer out and then minimize the button. The labels are most usually not visible on my screen but will most certainly be off on any screen.
Thanks,
Jim
-
- Site Admin
- Posts: 1349
- Joined: Thu Jan 01, 1970 12:00 am
- Location: Riudellots de la Selva, Catalonia
- Contact:
Thank you!
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/