Reference Line Label generation from columnHello
I have several events I have to show in a production process
is there any way to get the values (comments) of one column to be displayed as the reference line labels?
Would be nice to see it in the graphbuilder platform while i used Fit Y by X platform for the example shown.

Re: Reference Line Label generation from columnI modified this to duplicate the Bivariate plot with Graph Builder.
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/big class.jmp" );
dt << New Column( "Comment",
Character,
"Nominal",
Set Values(
{"", "", "", "", "", "", "", "", "", "", "Event 1", "", "", "", "", "", "", "", "", "", "", "", "", "","", "Event 2", "", "", "", "", "", "", "", "", "", "", "", "", "", ""}
)
);
gb = Graph Builder(
Size( 640, 500 ),
Show Control Panel( 0 ),
Variables( X( :height ), Y( :weight ) ),
Elements( Points( X, Y ) ),
SendToReport( Dispatch( {}, "height", ScaleBox ), )
);
For Each Row(
If( :comment != "",
Report( gb )[AxisBox( 1 )] << add ref line( :height, "Solid", "Black", :comment )
)
);Re: Reference Line Label generation from columnThank you very much for your support and the jsl solution.Re: Reference Line Label generation from columnHere is a simple example
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/big class.jmp" );
dt << New Column( "Comment",
Character,
"Nominal",
Set Values(
{"", "", "", "", "", "", "", "", "", "", "Event 1", "", "", "", "", "", "", "", "", "", "", "", "", "",
"", "Event 2", "", "", "", "", "", "", "", "", "", "", "", "", "", ""}
)
);
biv = dt << Bivariate( x( :height ), y( :weight ) );
For Each Row(
If( :comment != "",
Report( biv )[AxisBox( 2 )] << add ref line( :Weight, "Solid", "Black", :comment )
)
);