Chart.IsMapEnabled Property

.NET Framework (current version)
 
System_CAPS_noteNote

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

Gets or sets a flag that determines whether client-side image maps are enabled.

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

[BindableAttribute(true)]
[PersistenceModeAttribute(PersistenceMode.Attribute)]
public bool IsMapEnabled { get; set; }

Property Value

Type: System.Boolean

true if image maps are enabled; otherwise, false. The default value is true.

Setting this property to false will disable image maps. This will occur even under the following circumstances:

  • The Url, MapAreaAttributes, LabelMapAreaAttributes, LegendMapAreaAttributes or ToolTip property of a chart element is set.

  • A MapArea object has been added to the MapAreasCollection object.

.NET Framework
Available since 4.0
Return to top
Show: