Annotation.ClipToChartArea Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the name of the chart area to which an annotation is clipped.

Namespace:   System.Windows.Forms.DataVisualization.Charting
Assembly:  System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)

public virtual string ClipToChartArea { get; set; }

Property Value

Type: System.String

A string that represents the name of an existing chart area to which an annotation is clipped.

If the chart area name is specified, an annotation will only be drawn inside the plotting area of the chart area specified. All parts of the annotation outside of the plotting area will be clipped.

To disable chart area clipping, set the property to Empty.

.NET Framework
Available since 4.0
Return to top