Dundas Chart for ASP.NET
Href Property
See Also  Send comments on this topic.
Dundas.Charting.WebControl Namespace > LegendCell Class : Href Property


Gets or sets the URL target of the legend cell.
URL target of the legend cell.

Syntax

Visual Basic (Declaration)  
Public Overridable Property Href As String
Visual Basic (Usage) Copy Code
Dim instance As LegendCell
Dim value As String
 
instance.Href = value
 
value = instance.Href
C#  
public virtual string Href {get; set;}

Return Value

A 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.

Remarks

Setting this property will automatically result in a client-side image map being created, and a map area will be created with the HREF attribute set to the specified anchor or URL.

Setting this property will have no effect if the Chart object's MapEnabled property is set to False (True by default).

Attributes of the map area(s) can be specified by using the MapAreaAttributes property (e.g. TARGET=_Blank).

This property allows you to set special keywords to display different types of Chart-related data. For more information, refer to the Using Keywords topic.

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

Refer to the Client-Side Image Maps topic for more information on how to implement client-side mage maps.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.