SAS barchart
groupdisplay = 定义如何显示group,堆积、簇等等。
ods html; proc template; define statgraph _barchart; begingraph / ; entrytitle "a"; layout overlay / xaxisopts = (display = (ticks tickvalues)) yaxisopts = (griddisplay = on); barchart category = origin response = mpg_city / group = type stat = mean groupdisplay = cluster dataskin = gloss name = "a"; discretelegend 'a' / title = "Type: "; endlayout; endgraph; end; run; proc sgrender data = sashelp.cars(where = (type not in ("Hybird" "Truck"))) template = _barchart; run;
本文来自博客园,作者:Iving,转载请注明原文链接:https://www.cnblogs.com/SAS-T/p/15368520.html