Page 1 of 1

Reduce white border in graph

Posted: Fri Jul 03, 2015 10:02 pm
by johansamuelsson
Hi

When creating emf-files (or other file-formats) from graphs there is an unnecessarily large white border around the graphs, see the first graph. There would be nice if the emf-files instead look like the second graph.

Therefore, is it possible to include some "cropping"-command when saving graphs or is it possibly to change standard to "no white border" (or minimum white border)?

Regards Johan

Code: Select all

wfcreate(a) annual 2000 2015 Series a1 Series a2 a1.adjust = 1 .. 10 a2.adjust = 1 .. 20 Series a3 = @Pc(a1) Series a4 = @Pc(a2) Group g a* Freeze(tmp) g.mixed line(a1) line(a2) bar(a3) bar(a4) tmp.setelem(3) axis(r) tmp.setelem(4) Axis(r) tmp.axis overlap tmp.save(t=emf, u=cm, w=6, h=4, -trans) c:\temp\tmp
pic1.jpg
pic1.jpg (36.23 KiB) Viewed 7541 times
pic2.jpg
pic2.jpg (34.96 KiB) Viewed 7541 times

Re: Reduce white border in graph

Posted: Tue Jul 07, 2015 2:50 pm
by EViews Jason
It isn't possible right now but we will add to our list of things to investigate.

Re: Reduce white border in graph

Posted: Sat Jul 11, 2015 12:56 am
by johansamuelsson
Great


Regards Johan

Re: Reduce white border in graph

Posted: Fri Feb 05, 2016 9:46 am
by EViews Jason
As a followup. There will be a new setting in the options->Graph defaults dialog under Exporting to enable/disable padding in the next release.