Skip to main content

Legends

The Pie Map provides two types of legends used to identify map objects - color and weighted legends.

Color Legend

The color legend helps end-users identify which colors correspond to specific argument values.

PieMap_LegendExample

To display a color legend within a map, use the Show Color Legend button in the Color Legend group on the Design ribbon tab of the Pie Map Tools contextual tab set.

ChoroplethMap_ShowLegend_Ribbon

To specify the legend’s position and orientation, select one of the predefined options from the gallery in the Design Ribbon tab.

Map_LegendPosition_Ribbon

Weighted Legend

The weighted legend allows end-users to identify values corresponding to specific pie sizes.

GeoPointMap_WeightedLegend

Note

The Pie Map dashboard item does not display the weighted legend if weighed pies are disabled.

To select the required weighted legend type, use the Show Weighted Legend button in the Weighted Legend group of the Design ribbon tab of the Pie Map Tools contextual tab set.

ShowWeightedLegendRibbon

To specify the legend’s position, select one of the predefined options from the gallery in the Design Ribbon tab.

WeightedLegendPosition_Ribbon

Specify Legend Settings in Code

To access the color and weighted legends in code, use MapDashboardItem.Legend and MapDashboardItem.WeightedLegend properties, respectively.