Appending reports to windowsHi,
I put a platform in HlistBox (or some other box) while creating it and then I append this box to the window. Is this the ideal way? Is there some "general box" instead of Hlistbox to use?
I need to append AFTER creating and editing the object.
Thanks.
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
New Window("EX",
hlis = HList box()
);
biv_obj1 = dt << Bivariate( Y( :Weight ), X( :Height ) );
//Running some editing on the object
//And then adding to the window
hlis << Append (biv_obj1);//Fail - not a display box
//Putting bivariate into Hlistbox for appending only
biv_box = Hlist Box( biv_obj2 = dt << Bivariate( Y( :Weight ), X( :Height ) ));
hlis << Append(biv_box);//OKConsumer and Market ResearchData Blending and CleanupQuality and Process EngineeringRe: Appending reports to windowsYou seem to have a good handle on a good approach. What you are doing is typically the way that I go. But sometimes it does work out better to append the platform to the display window and to make the edits required after the append.
Re: Appending reports to windowsThank you Jim
1. Adding as report disconnects the report from the data
2. Adding while creating is fine, but I need to append after I finish to create the platform and running some edits on it
Re: Appending reports to windowsI have annotated a script, with a couple of items to ponder concerning your question.
names default to here(1);
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
New Window("EX",
hlis = HList box()
);
// You can create stand alone platform objects, making them invisible or not,
// and then append their report object
biv_obj1 = dt << Bivariate(invisible, Y( :Weight ), X( :Height ) );
hlis << Append (Report(biv_obj1));
// This method appends a static version of the platform's output display.
// That is, most red triangle options are not available.
//This method works fine, but is more complex than it has to be
biv_box = Hlist Box( biv_obj2 = dt << Bivariate( Y( :Weight ), X( :Height ) ));
hlis << Append(biv_box);
// Platforms can be directly appended to objects within a display window.
hlis << append(biv_obj2 = dt << Bivariate( Y( :Weight ), X( :Height ) ));