...
add a Legend with disjoint mode. Use user text Set legend_text_composition to user_text_only and carefully set the legend_user_lines to provide a textual description to each curve in the legend. Add your legend to the back of the list you return from the Macro.
...