01-19-2017 09:42 AM
Hi olhass,
Sorry, I didn't read the full length of your post, just the last part of it. There's no way to coax DIAdem into displaying the curves on the Y2 axis before the Y1 axis, but you don't have to have any curves on the Y1 axis. You could leave that axis curveless and put the curves you currently have assigned to it onto a Y3 axis, which would be drawn second.
Brad Turpin
DIAdem Product Support Engineer
National Instruments
01-20-2017 12:36 AM - edited 01-20-2017 12:40 AM
Hello Brad,
sorry but this didn't answer my question. Adding an axis and drawing curves on this "last" axis to move them to the front is obvious, but if i already have lots of curves drawn on a previous axis e.g. named "FirstAxis" and i want to move them to the front e.g. after "ThirdAxis", would it be sufficient to change the reference by copying the axis and then changing the names of the source axis and target axis whitout burden yourself with resetting the reference of each curve?
Thought of this, because i often used the property
rObject.YAxisReference = "FirstAxis"
to programmatically assign curves to an axis, and if the reference of any curve is defined by the object name it would be very easy to rereference them to an axis which is drawn on a different layer.
Might this concept not get an idea for next DIADEM releases? (including a button/command "raise axis layer"/"move axis to front")
01-23-2017 04:54 PM
Hi olhass,
I support your idea, but the best place to make your case is the DIAdem Idea Exchange:
"ni.com/diademideas"
Brad Turpin
DIAdem Product Support Engineer
National Instruments