This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IC > IChartRenderer Interface > IChartRenderer.Label Property (ArcObjects .NET 10.4 SDK) |
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
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.