A legend is an element of a graph or chart that provides information about the data series it represents. It assigns labels or categories to the various colors, patterns, or markers in the graph, helping to interpret the data visually.
For example, in a bar chart with multiple bars, the legend explains which color or style corresponds to each category or series.
Conclusion:
The piece of information shown in a graph and assigned to the data series is called the legend.