- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
How i can get max size graph in PowerPoint - PPP ??
gb2=
Graph Builder(
Size( 1155, 703 ),
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" )} )
)
);
----------------------------
whatever size I put here //Size( 1155, 703 ),// will not change the size in PPP! .. thank you
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: How i can get max size graph in PowerPoint - PPP ??
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: How i can get max size graph in PowerPoint - PPP ??
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: How i can get max size graph in PowerPoint - PPP ??
thank you! works fine