![A simple trick to include (and order!) all categories in SGPLOT legends](https://blogs.sas.com/content/iml/files/2016/02/legendcategories2.png)
Last week Sanjay Matange wrote about a new SAS 9.4m3 option that enables you to show all categories in a graph legend, even when the data do not contain all the categories. Sanjay's example was a chart that showed medical conditions classified according to the scale "Mild," "Moderate," and "Severe."