Прочетете на английски Редактиране

Споделяне чрез


Title.Url Property

Definition

Gets or sets the target URL of the hyperlink for the title.

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

Property Value

A string value that represents the target URL of the hyperlink for the title. The default value is a zero-length string.

Implements

Url
Attributes

Remarks

If you set this property, a client-side image map will be automatically created. A map area will also be created with its HREF attribute set to the specified anchor or URL.

Setting this property will have no effect if the IsMapEnabled property is set to false. The default value is true.

Важно

To create an image map in this manner, the RenderType property of the Chart object must be set to ImageTag. It is possible to create an image map when using binary streaming, but another technique must be used.

Attributes of the map area(s), for example, TARGET=_Blank, can be specified by using the MapAreaAttributes property.

The Url property allows you to set special keywords to display different types of chart-related data.

To create image maps that have user-defined coordinates, use the MapAreas property of the root Chart object.

Applies to

Продукт Версии
.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