Hello,
I am trying to create a hover graphlet that links to another data table. The first data table has a bunch of concatenated CSV files which I perform a linear fit on and then graph the individual points by the filename of the CSV files. I would like to see the actual data points from the first data table displayed in a graphlet when I hover over the linear fit values.
Here is what I have so far...
Names Default To Here( 1 );
platform = Data Table( "Untitled 364" ) << Bivariate(
Y( :Y ),
X( :X ),
Fit Line( {Line Color( {212, 73, 88} )} ),
By( :FileName )
);
Wait( 0 );
Report( platform[1] )[Outline Box( "Linear Fit" )][
Outline Box( "Parameter Estimates" )][Table Box( 1 )] << Make Combined Data Table;
Report( platform[1] ) << Close Window;
Graph Builder(
Size( 531, 405 ),
Show Control Panel( 0 ),
Variables( X( :FileName ), Y( :Estimate ) ),
Elements( Points( X, Y, Legend( 10 ) ) ),
Local Data Filter( Add Filter( columns( :Term ), Where( :Term == "X" ) ) ),
SendToReport(
Dispatch(
{},
"Graph Builder",
FrameBox,
{Set Graphlet(
Picture(
Graph Builder(
Size( 531, 456 ),
Show Control Panel( 0 ),
Variables( X( :X ), Y( :Y ), Overlay( :FileName ) ),
Elements(
Points( X, Y, Legend( 5 ) ),
Line Of Fit( X, Y, Legend( 7 ), Confidence of Fit( 0 ) )
)
)
)
)}
)
)
)
The attached jmp sheet has some example data and the graph I am looking to create in the graphlet.
Thanks for any help!