ArcObjects Library Reference (Carto)  

IChartRenderer.Label Property

Chart label.

[Visual Basic .NET]
Public Property Label As String
[C#]
public string Label {get; set;}
[C++]
HRESULT get_Label(
  BSTR* Name
);
[C++]
HRESULT put_Label(
  BSTR Name
);
[C++]

Parameters

Name [out, retval]   Name is a parameter of type BSTR Name [in]   Name is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

This property provides access to the label corresponding to a pie slice, bar/column, or stacked slice. These items in turn correspond to a renderer field. Use IRendererFields to access these fields. By default a label will match its corresponding field name.

Labels appear in the legend entry for the renderer, and therefore appear in the ArcMap table of contents and can appear in legends depending on the LegendItem applied to the layer.

See Also

IChartRenderer Interface