You can use the new ODS GRAPHICS statement option BYLINE=FOOTNOTE or BYLINE=TITLE to display BY-group lines in a footnote or title in graphs.