Hi @alsaqi89,
Native resolution for most ppt files these days is 1920x1080, so your graph size of 1155x703 would not fill it. I suggest two things: increase the size of the graph, and turn OFF "Fit to Window" to make sure that your graph is not automatically resized before you export to power point. Here is your code with those changes (and I maintained the aspect ratio of your graph):
gb2 = Graph Builder(
Size( 1920, 1169 ),
Fit to Window( "Off" ),
Variables(
X( :Reference ID ),
Y( :OD Inlet DB ),
Y( :OD Outlet DB ),
Y( :OD Inlet WB ),
Y( :OD Outlet WB ),
Overlay( :Test# )
),
Elements( Position( 1, 1 ), Line( X, Y, Legend( 14 ) ) ),
Elements( Position( 1, 2 ), Line( X, Y, Legend( 15 ) ) ),
Elements( Position( 1, 3 ), Line( X, Y, Legend( 16 ) ) ),
Elements( Position( 1, 4 ), Line( X, Y, Legend( 17 ) ) ),
SendToReport(
Dispatch( {}, "graph title", TextEditBox, {Set Text( "OD - DB & WB" )} )
)
);
I hope this helps!
@julian