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

Legended

Legended
indicates that a legend entry for expr should be created, with label lbl.
  • Legended can be used as a symbolic wrapper for data elements and datasets in charting functions such as BarChart.
  • The legend entry associated with Legended includes an identifying prototype, such as a color swatch, for expr, displayed with the label lbl.
  • The label lbl in Legended can be any expression, including graphics.
  • Legended[expr, Placed[lbl, pos]] can be used to create legend entries for legends at different positions in a chart.
Use Legended to provide legend entries for specific elements:
Use Legended to provide legend entries for specific elements:
In[1]:=
Click for copyable input
Out[1]=
New in 7