01-17-2008 02:50 PM
01-22-2008 05:32 PM
Hi Kevin,
As far as I can tell, this most likely would be best handled as a Product Suggestion. You've done an excellent job in describing the behavior and we appreciate feedback like this from customers like you.
However, there may be a way for you to programmatically move the annotations if they overlap each other.
Try this:
In the Annotation List Property, you can retrieve the position of an annotation label, relative to the annotation. If you know the annotation position, you can then determine the position of the annotation label with respect to the plot area.
Use a Case Structure to handle moving the position of these labels if you find that any of them overlap each other, i.e. the position of one label is equal (or almost equal) to another. The tricky part will be to determine what would be the best alternative position if you need to move an annotation label (assuming you do know the data points in the plot a priori). A simple solution: if you find that an annotation label overlaps another, I would try simply moving it 'n' points in the Y direction. This won't look as nice as your ideal solution, but at least you'll be able to see all labels clearly.
Let us know if you have any specific questions if you choose to attempt this. Moreover, if you've come up with an alternative solution, we would love to hear it.
Cheers,
Emilie K
National Instruments
01-23-2008 11:03 AM
01-23-2008 04:51 PM
08-02-2008 01:52 PM
Kevin,
I have also noticed an issue of inconsistency of the graph annotations when you build an application (.exe). When in the regular VI IDE, a graph annotation name is capable of being moved about by the mouse. When I build my application, I can not move the name at all, just the actual crosshair annotation and the name moves with it.
Do you know anything about this problem?
Matt
08-02-2008 05:11 PM