cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Have your say in shaping JMP's future by participating in the new JMP Wish List Prioritization Survey
Choose Language Hide Translation Bar
Neo
Neo
Level VI

Is it possible to dynamically update "graph title" based item selection in local data filter (including multiple selections)?

I use the following to display "my text" at the top of my charts.

Dispatch( {}, "graph title", TextEditBox, {Set Text( "my text" )} )

However, I would like to have the item(s) selected in the local data filter to be displayed in the graph title as I select them (perhaps multiple sections as comma delimited?).

How to achieve this in JSL?

When it's too good to be true, it's neither
21 REPLIES 21
hcarr01
Level VI

Re: Is it possible to dynamically update "graph title" based item selection in local data filter (including multiple selections)?

Ok merci ça fonctionne correctement, mais si jamais comment peut-on fait pour mettre juste le prenom nom qu'il trouve dans le base de données ?

 

Dans votre exemple ça serait d'afficher que le prenom "KATIE" 

hcarr01
Level VI

Re: Is it possible to dynamically update "graph title" based item selection in local data filter (including multiple selections)?

comme ceci ça fonctionne correctement :

 

changeTitle = Function( {this},
	Eval( Parse( "theRows = dt << get rows where" || Substr( ldf << get where clause(), 13 ) ) );
	If( Length( theRows ) > 0,
		theRow = theRows[1];
		ldfText = :remarques[theRow],
		ldfText = "All Names"
	);
	(Report( gb ) << XPath( "//TextEditBox" ))[1] << Set Text( ldfText );
);