Chart.IsMapEnabled Property

Definition

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

C#
[System.ComponentModel.Bindable(true)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public bool IsMapEnabled { get; set; }

Property Value

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

Attributes

Remarks

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.

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