Hi,
I am making a lattice of pie charts with responses from four surveys. The legend for each of the four surveys is the same, so I have added a legend to the bottom chart in the lattice.
Because the bottom chart in the lattice contains the legend, the chart area is smaller in that chart than the other three.
How can I make the chart that contains the legend be the same size as the charts that do not contain a legend?
Thanks!
proc template;
define statgraph piechart;
dynamic _skin;
begingraph;
entrytitle '';
layout lattice / columns=1 rows = 4 rowweights = (.8 .8 .8 1);
layout region;
piechart category=ec response = percent_of_total_study1 / dataskin=_skin datalabelcontent= none otherslice = false;
endlayout;
layout region;
piechart category=ec response = percent_of_total_study2 / dataskin=_skin datalabelcontent= none otherslice = false;
endlayout;
layout region;
piechart category=ec response = percent_of_total_study3 / dataskin=_skin datalabelcontent=none otherslice = false;
endlayout;
layout region;
piechart category=ec response = percent_of_total_study4 / name = "ec" dataskin=_skin datalabelcontent= none otherslice = false;
discretelegend "ec" / location = outside /*Title = "Category"*/ valueattrs = (size = 12pt);
endlayout;
endlayout;
endgraph;
end;
run;