How to pass parameters to the specified JSL in the graph fetch?Examples in the index of software
dt = Open( "$SAMPLE_DATA/Big Class Families.jmp" );
gb = dt << Graph Builder( Show Control Panel( 0 ), Variables( X( :age ), Y( :weight ) ), Elements( Bar( X, Y, Legend( 7 ) ) ));
frame = (gb << report)[FrameBox( 1 )];
frame << Set Graphlet( Picture( loader = Include( "$BUILTIN_SCRIPTS/hllib.jsl" ); hlp = loader:lazyLoad( "hllPresets" ); hlp:launchPie(); ), Title( "Pie Preset" ), Reapply( 1 ));
How does it pass parameters to hllib.jsl?
Which variable name is it in hllib.jsl?
Thanks!

Basic Data Analysis and ModelingWindowsRe: How to pass parameters to the specified JSL in the graph fetch?What are you trying to pass?
Re: How to pass parameters to the specified JSL in the graph fetch?You run the above JSL,
The cursor hovers over the graph, gets the "age" parameter, and gets the pie chart via hllib.jsl.
No pie chart appears without hllib.jsl.
So I think it's passing the age parameter.
I want to know how this example works.
Thanks!
Re: How to pass parameters to the specified JSL in the graph fetch?OK

GET
:sex == "M"
Re: How to pass parameters to the specified JSL in the graph fetch?Age is found from x-axis so it will be shown in the hoverlabel
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
gb = dt << Graph Builder(
Show Control Panel(0),
Variables(X(:age), Y(:weight)),
Elements(Bar(X, Y, Legend(7))),
SendToReport(
Dispatch(
{},
"Graph Builder",
FrameBox,
{Set Graphlet(
Picture(
Graph Builder(
Size(502, 435),
Show Control Panel(0),
Variables(X(:name), Y(:weight)),
Elements(Pie(X, Y, Legend(10)))
)
)
)}
)
)
);

Re: How to pass parameters to the specified JSL in the graph fetch?Thank jthi!
That's probably not the answer I was looking for.
I found this example because I wanted to keep it the form of
Include( "$BUILTIN_SCRIPTS/hllib.jsl" );
Because I also need to use Include("D:\test.jsl") in my own example application;The form of.
So I need to know how hllib.jsl gets parameter passing in the above example.
Thank you very much!