Hi. A reply of mine was marked as abuse. It was not abuse and I took a long time to write it. Can you please restore it? Thanks
Link to post: (Re: Unable to Highlight on Graph Builder and Select Corresponding Rows)
by Jazib
https://community.jmp.com/t5/Discussions/Unable-to-Highlight-on-Graph-Builder-and-Select-Corresponding/m-p/342979#M59221
Thanks and for the reply. Unfortunately I can't share the entire script or the plots because of NDA reasons, but I can provide more details where possible. This is what the window looks like: CreateResultsWindow = Function( // Inputs {Title}, // Local variables { Window, ReturnList, OutLineBox1, BorderBox1, LineUpBox1 }, Window = NewWindow(Title, OutLineBox1 = OutLineBox( "Outline Box 1", BorderBox1 = BorderBox( Left(40), Right(40), Top(40), Bottom(40), Sides(30), LineUpBox1 = LineUpBox(NCol(2)); ); ); ); ReturnList = {}; InsertInto(ReturnList, OutLineBox1); InsertInto(ReturnList, LineUpBox1); EvalList ( ReturnList ); ); I call this function multiple times for multiple types of plots and am appending to the Lineup Box like this: Create multiple GB objects and insert them into a GB list GB = DT << GraphBuilder(...); InsertInto(GBList, GB); Append them based on some value (R^2 in my case): AppendPlotBasedOnDescendingValue(GBList, R2List, LineUpBox1); AppendPlotBasedOnDescendingValue = Function( // Inputs {PlotBoxList, ValueList, AppendBox}, // Local variables {i, RankList, ReorderedPlotBoxList}, // Vector of indices used as subscript into original list RankList = RankIndex(ValueList); // Reorder plots based on values ReorderedPlotBoxList = PlotBoxList[RankList]; // Plot by descending For(i=NItems(ReorderedPlotBoxList), i>=1, i--, AppendBox << Append(Report(ReorderedPlotBoxList[i])); ReorderedPlotBoxList[i] << CLoseWindow; ); ); It gets appended correctly, but I am just not able to select/highlight on the data tables/plots. So to your question I think I am using a graphic element (Lineup Box) Thanks.
This message has 0 replies