Hai all, I have a question.How can I include all the legend entries in graph even though the legend group not include in the graph? As an example I took coding from SAS website: You can apply a format to a group column to change the legend entry labels or the number of classification levels. The ordering of the legend entries is based on the order of the pre-formatted group values. In the following example, the data is sorted in ascending order, so the legend entry order is "Pre-Teen" "Teen" "Adult." Because there are no adults, "Adult" does not appear in the graph. proc format; value teenfmt low-12 = "Pre-Teen" 13-19 = "Teen" 20-high = "Adult"; run; proc sort data=sashelp.class out=class; by age; run; proc sgrender data=class template=order; format age teenfmt.; dynamic title="Formatted Order of Legend Entries"; run;
... View more