cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
Charly
Level I

Selected points hide lines in graph builder

Hello,

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:

Charly_1-1764068694614.png

 

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

1 ACCEPTED SOLUTION

Accepted Solutions
hogi
Level XIII

Re: Selected points hide lines in graph builder

Fixed 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":

hogi_0-1764072010197.png

 

View solution in original post

7 REPLIES 7
hogi
Level XIII

Re: Selected points hide lines in graph builder

Fixed 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":

hogi_0-1764072010197.png

 

Charly
Level I

Re: Selected points hide lines in graph builder

I switched to JMP 19 and indeed it works. I'll keep the workaround in the link in case I need it.

Thanks a lot!

ErraticAttack
Level VI

Re: Selected points hide lines in graph builder

That 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.

Jordan
txnelson
Super User

Re: Selected points hide lines in graph builder

The 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.

Jim

Re: Selected points hide lines in graph builder

For 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

 

hogi
Level XIII

Re: Selected points hide lines in graph builder

ah, wow, online scripting index!

hogi
Level XIII

Re: Selected points hide lines in graph builder

Graphics Script vs. Reference Line:

 

Recommended Articles