Bewerken

Share via


Title.Url Property

Definition

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

public:
 property System::String ^ Url { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Bindable(true)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public string Url { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)>]
member this.Url : string with get, set
Public Property Url As String

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.

Important

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