Annotation.ClipToChartArea Property

Definition

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

C#
[System.ComponentModel.TypeConverter(typeof(System.Windows.Forms.DataVisualization.Charting.LegendAreaNameConverter))]
public virtual string ClipToChartArea { get; set; }

Property Value

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

Attributes

Remarks

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.

Applies to

Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1