This documentation is archived and is not being maintained.

Chart.BackImageWrapMode Property

Gets or sets the drawing mode for the background image of the Chart control.

Namespace:  System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

[PersistenceModeAttribute(PersistenceMode.Attribute)]
[BindableAttribute(true)]
public ChartImageWrapMode BackImageWrapMode { get; set; }
<asp:Chart BackImageWrapMode="ChartImageWrapMode" />

Property Value

Type: System.Web.UI.DataVisualization.Charting.ChartImageWrapMode
A ChartImageWrapMode enumeration value. The default value is Tile.

This property determines how the image is displayed, for example, tiled, scaled, and so forth.

If an image is scaled, it will be stretched to fit within the bounds of the chart. If the image is tiled, it is repeatedly drawn, starting from the top-left corner of the chart.

For more information about the available wrapping modes, see the ChartImageWrapMode enumeration topic.

If the BackImageWrapMode property is set to Unscaled, the location where the image is drawn is determined by the BackImageAlignment property setting.

.NET Framework

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: