แก้ไข

แชร์ผ่าน


LegendCellColumn.Url Property

Definition

Gets or sets the URL target of the legend cell columns automatically generated from a series or data point.

public:
 virtual property System::String ^ Url { System::String ^ get(); void set(System::String ^ value); };
public virtual string Url { get; set; }
member this.Url : string with get, set
Public Overridable Property Url As String

Property Value

A string value that represents the destination URL or anchor point of the chart element. To use an absolute URL start the string expression with either "http://" or "www.". If the string does not start with either of these prefixes it will be treated as a relative URL. The default value is a zero-length string.

Implements

Url

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.

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