Hi,
I'm hoping someone can help with some guidance here. As part of a larger report generation, I am generating wafer heat maps with the following script:
Graph1 = dt << Graph Builder(
Size( 300, 300 ),
Show Control Panel( 0 ),
Show Footer( 0 ),
Y Group Edge( "Left" ),
Variables(
Group X( :Col, Show Title( 0 ) ),
Group X( :ChipCol, Show Title(0) ),
Group Y( :Row, Show Title( 0 ) ),
Group Y( :ChipRow, Show Title(0) ),
Color( :test_value )
),
Where( (:ReportLevel == Report_Level & :lot == this_lot & :wafer == this_wafer) ),
By( :VarDescription ),
Elements( Heatmap( Legend( 13 ) ) ),
SendToReport(
Dispatch( {}, "graph title", TextEditBox, {Set Text( "" )} ),
Dispatch( {}, "X title", TextEditBox, {Set Wrap( 2 )} ),
Dispatch( {}, "Y title", TextEditBox, {Set Wrap( 2 )} )
)
)
I have up to 150 possible values for :VarDescription and found that running this in a loop to create each individual map, append the journal, and close the map was very clunky. I found that allowing graph builder to create all the maps at once with the By(:VarDescription) statement was much more fluid, and to build my journal, I can grab the individual maps out of the array positions in the graph object. What has got me in a bind is that getting a full map is predicated on having values for ALL sites, otherwise I get partial, consolidated maps. Even if I've only tested a few sites, I want the entire map displayed for spatial consideration. In my data table, I am including a handful of reference (dummy) rows that represent blank values for all locations in the first column and the first row. This effectively will force the display of the full map in graph builder when the "dummy" rows are included. Where I'm stuck is how to include these reference rows for each map when using the By(:VarDescription) statement in graph builder vs using a filter (Where) statement. I don't think there's a way to do that upon initial creation of the maps. Is there a way to append data to a graph object after the fact? Or modify the generated filtering? I've noticed that the individual maps in the journal end up with modified filters, I assume generated by the By( ) statement. As an alternative work around that fits into this approach, I've considered just making "dummy" rows for all :VarDescription possibilities but the data table would get awfully large and cluttered. I'm trying to avoid that.
Thanks!