Legend
A legend is an element of a scatter chart that identifies chart points (for instance, colored points that correspond to argument values).
This topic describes how to customize various legend settings.
Visibility
You can specify whether a chart should display a legend.
In the Designer, use the Show Legend button in the Legend group on the Design ribbon tab of the Scatter Chart Tools contextual tab set.
In code, use the ChartLegend.Visible property. To access the legend, use the ScatterChartDashboardItem.Legend property.
Position and Orientation
To specify the legend’s position and orientation, select one of the predefined options from the gallery in the Legend group on the Design ribbon tab of the Scatter Chart Tools contextual tab set.
To specify the legend’s position and orientation in code, use the following properties.
Gets or sets whether the chart’s legend is placed inside the diagram. | |
Gets or sets the legend position and orientation within a chart diagram. | |
Gets or sets the legend position and orientation outside the chart diagram. |