The functions in this section control the legend. For more information, see Section 3.7.2, “Legend”. See also SetLegendTextColor to set the legend text color, SetLegendBgColor to set the legend background color, SetGridColor to set the legend border color, and SetFont to set the legend text font.