I would do it using a local data filter. You can script this specific example as follows:
Names Default To Here( 1 );
dt = Data Table( "Big Class" );
thenames = dt:name[(dt << Get Rows Where( Is Missing( :height ) ))];
Graph Builder(
Size( 857, 534 ),
Show Control Panel( 0 ),
Variables( Y( :height ), Group X( :name ) ),
Elements( Histogram( Y, Legend( 4 ) ) ),
Local Data Filter(
Inverse( 1 ),
Add Filter(
columns( :name ),
Where( :name == thenames ),
Display( :name, N Items( 15 ), Find( Set Text( "" ) ) )
)
)
);
It's also easy to do with the menus in Graph Builder.