Also, since you are using svg, you can edit the svg after it is written to remove the rect fills. For some reason, there are two. You could use a text editor, or use JSL to do it:
dt = Open( "$sample_data/big class.jmp" );
g = dt << Graph Builder(
Show Control Panel( 0 ),
Variables( X( :height ), Y( :weight ), Overlay( :sex ) ),
Elements( Points( X, Y, Legend( 1 ) ), Smoother( X, Y, Legend( 2 ) ) )
);
Report( g ) << savepicture( "f:/g1.svg", "svg" );
Open( "f:/g1.svg" );
txt = Load Text File( "f:/g1.svg" );
/* remove the rect fill
<g fill="#DDDDDD">
<rect stroke="none" x="84.5" y="36.5" width="500" height="409" />
</g>
*/
While(
Pat Match( txt,
("<g fill=" + Pat Break( ">" ) + ">" + Pat Span( " \!n\!r" ) + "<rect stroke=" + Pat Break( ">" ) + ">" + Pat Span( " \!n\!r" ) + "</g>") >> deleted,
""
),
Show( deleted )
);
Open( Save Text File( "f:/g2.svg", txt ) );
Craige