Chart.IsMapAreaAttributesEncoded Property

Definition

Gets or sets a flag that determines whether map area attributes are encoded. The map area attributes can load data from various data sources. The Chart control does not prevent an end user from loading untrusted data from various data sources. For this reason, it is recommended that you validate the data and encode it yourself.

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

Property Value

true if map area attributes are encoded; otherwise, false.

Attributes

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