This document is archived and information here might be outdated.  Recommended version.


IChartRenderer.Label Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IC > IChartRenderer Interface > IChartRenderer.Label Property
ArcGIS Developer Help

IChartRenderer.Label Property

Chart label.

[Visual Basic .NET]
Public Property Label As String
[C#]
public string Label {get; set;}
[C++]
HRESULT get_Label(
  System.String* 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