cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to create experiments to support product design and ID useful product features. Register for June 12 webinar, 2pm US Eastern Time.

Discussions

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

How to add text to a graph after drawing using JSL?

Add the text "txt1" at the top left of the image coordinates (100,100)

Thanks!

2023-11-08_7-14-18.png

dt = Current Data Table();
P1 = dt << Graph Builder(
	Show Control Panel( 0 ),
	Variables( X( :age ), Y( :sex ) ),
	Elements( Heatmap( X, Y, Legend( 2 ) ) )
	//, Text( Center Justified, {100, 100  }, "txt1"); ??
);
11 REPLIES 11
lala
Level IX

Re: How to add text to a graph after drawing using JSL?

nw = Report( gb )[Graph Builder Box( 1 )];


dy = New Table( "K", Add Rows( 2 ), New Column( "A", Expression ), New Column( "B", Expression ) );
dy[1, 1] = nw;
lala
Level IX

Re: How to add text to a graph after drawing using JSL?

how can use the jsl

Thank Jim!

,SendToReport(
	Dispatch(
		{},
		"Graph Builder",
		FrameBox,
		{Add Graphics Script( 2, Description:( "" ), Text( Center Justified, {50, 50}, "Big Class" ) )}
	)
);

Recommended Articles