Edit

Share via


Annotation.SmartLabelStyle Property

Definition

Gets or sets the smart label style of an annotation.

public:
 property System::Web::UI::DataVisualization::Charting::AnnotationSmartLabelStyle ^ SmartLabelStyle { System::Web::UI::DataVisualization::Charting::AnnotationSmartLabelStyle ^ get(); void set(System::Web::UI::DataVisualization::Charting::AnnotationSmartLabelStyle ^ value); };
[System.ComponentModel.Bindable(true)]
[System.ComponentModel.Browsable(true)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)]
public System.Web.UI.DataVisualization.Charting.AnnotationSmartLabelStyle SmartLabelStyle { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.ComponentModel.Browsable(true)>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)>]
member this.SmartLabelStyle : System.Web.UI.DataVisualization.Charting.AnnotationSmartLabelStyle with get, set
Public Property SmartLabelStyle As AnnotationSmartLabelStyle

Property Value

An AnnotationSmartLabelStyle object that represents an annotation's smart labels style properties.

Attributes

Remarks

Smart labels are used to prevent an annotation from overlapping the data point labels and other annotations.

Note

Data point labels must also have smart labels enabled.

Applies to