cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
Choose Language Hide Translation Bar
vinkane
Level III

graph builder reference line

Need to have the grapg builder reference line value use the row number selected with the data filter. The graph builder staced bar chart updates with the data filter selection but not the reference line
Newd to have the :Target cell value as the reference. The only method I found so far is to use the row number n the brackets

{Format( "Percent", 10, 3 ), Add Ref Line(

                        :Target[],

                        Solid,

                        "Black",

                        "Tgt ",

                        2

1 ACCEPTED SOLUTION

Accepted Solutions
David_Burnham
Super User (Alumni)

Re: graph builder reference line

I'm not sure I understand this.  The Data Filter is used to select columns of a table - so I don't understand where this row number is that is being used to generated a reference line.

But lets say that I have a graph with a reference line, and as a result of some "event" (selection from a data filter?) I want to update the graph.  IF I can react to the event, then I can REMOVE the reference line and ADD a new one (add ref line and remove ref line are messages that can be sent to the axis display box). 

The simplest way to react to events is to let JMP handle it by using automatic recalc - but that will pick up changes to the exclude and hidden row states - both of which can be controlled through the data filter - but will not pick up this "thing" you want to use for your reference line level.  Using a global variable wont work because  the value not the variable gets encoded.  So you need to handle the event yourself which you can do by using the Make Row State Handler data table message.

-Dave

View solution in original post

1 REPLY 1
David_Burnham
Super User (Alumni)

Re: graph builder reference line

I'm not sure I understand this.  The Data Filter is used to select columns of a table - so I don't understand where this row number is that is being used to generated a reference line.

But lets say that I have a graph with a reference line, and as a result of some "event" (selection from a data filter?) I want to update the graph.  IF I can react to the event, then I can REMOVE the reference line and ADD a new one (add ref line and remove ref line are messages that can be sent to the axis display box). 

The simplest way to react to events is to let JMP handle it by using automatic recalc - but that will pick up changes to the exclude and hidden row states - both of which can be controlled through the data filter - but will not pick up this "thing" you want to use for your reference line level.  Using a global variable wont work because  the value not the variable gets encoded.  So you need to handle the event yourself which you can do by using the Make Row State Handler data table message.

-Dave