Selected points hide lines in graph builderHello,
I'm adding lines via a Graphics Script in Graph Builder, but when many points are selected, the selected markers draw on top of the lines and hide them. Like in the middle of this graph:

I would like the lines to be in front of all the poits (including the selected ones, which is not the case here).
In the customize option of the graph builder, I can change order between points and script but it doesn't affect selected points.
My questions are:
-
Is there any way to change the drawing order so that Graphics Script elements can be drawn on top of all the data points, including selected points?
-
If not, is there a recommended workaround to keep the lines visible ?
The script producing this graph is attached.
Thanks
Automation and ScriptingBasic Data Analysis and ModelingData Exploration and VisualizationRe: Selected points hide lines in graph builderFixed in JMP19:
Fix Selected States being drawn above all other possible elements in a graph / @ErraticAttack
edit: just run the script and activate "Draw with selected layer":

Re: Selected points hide lines in graph builderThe reference lines can be moved to the front by specifying Reference Line Order(). Look in the Scripting Index for definition and example
If you right click on the graph and select Customize you can move the reference lines to the bottom if the segment list which will bring the reference lines to the front. If you then save the script for the graph you will see the JSL used to move the Reference Lines to the forefront.
Re: Selected points hide lines in graph builderI switched to JMP 19 and indeed it works. I'll keep the workaround in the link in case I need it.
Thanks a lot!
Re: Selected points hide lines in graph builderFor what it's worth, here's a link to the online scripting index for Reference Line Order() :
FrameBox - Reference Line Order
https://jsl.jmp.com/All%20Categories/Display%20Boxes/FrameBox.html#reference-line-order
Re: Selected points hide lines in graph builderah, wow, online scripting index!
Re: Selected points hide lines in graph builderGraphics Script vs. Reference Line:
Re: Selected points hide lines in graph builderThat is great! This will be a huge help as we've many use-cases where there are 10's of thousands of points and we draw custom shapes atop the points to give hints about the distribution.