This is documentation for Mathematica 7, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

LegendBackground

LegendBackground
is an option for Legend, which specifies the style of background to use with a legend.
  • LegendBackground->style specifies that the legend background is created with the specified graphics directive or list of directives.
Use a white background for the legend:
Use a yellow background for the legend:
Needs["PlotLegends`"]
Use a white background for the legend:
In[2]:=
Click for copyable input
Out[2]=
Use a yellow background for the legend:
In[3]:=
Click for copyable input
Out[3]=