Christian and Lynn,
Thanks for the replies. I think I'll have to go the route
suggested by Christian since I kind of thought that changing the
Z-order of the graph rendering wouldn't be possible.
Lynn, This is exactly what I'm doing at the moment. I'm
basically reversing the array so that the last three plots are always
the same, and then setting the plot properties accordingly. This
is working, but it's a real pain and it's also awkward to
maintain. Speed isn't critical, but it takes around 500 msec to
allocate 17 plots. This is already noticeable in an otherwise
zippy UI.
What I'll most likely do is the following:
When the spectrum is loaded, allocate plots for ALL data sets (This
part I won't limit in the number of plots, thus allowing for huge
amounts of data - no artificial limit). I still have to do some
plot processing and setting display properties of the graph, but this
will be done on loading the data, so it's not TOO bad.
Then afterwards, as the individual plots are selected and deselected,
I'll simply hide the respective plots. This makes at least the
handling of appearing and disappearing plots much easier. This
means that all plots will be permanently visible on the Legend, but
that's not such a problem really. Only cosmetically. I need
to think about whether the legend is even neccessary. I can't
limit the number of entries visible on the legend, because the most
important are at the end. I have thought of creating a dummy XY
graph off-screen and using the legend from that instead of the legend
from the actual XY graph, but that's not really making things simpler.
EIther way, thanks for the help guys,
Does anyone know how things look in later versions of LV? How
about the all-new super duper turbo-charged LabVIEW 8.0? (this post
will seem so silly in 5 years time when LabVIEW X is around). Any
option to control the Z-order ot the graph rendering?
Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)