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


Gets or sets the destination URL or anchor of a default legend item created for a data point or series.


URL target of the item in the legend.

Syntax

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

Return Value

A string expression representing the default legend items' hyperlink (defaults to a zero-length string). To specify 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

Pie and doughnut charts will display default legend items for each plotted data point, and in the same manner all other chart types will display default legend items for each plotted series.

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.

This property can be either a target URL or an anchor point (i.e. a bookmark).

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

IMPORTANT: To create an image map this way the RenderType property of the Chart object MUST be RenderType.ImageTag. It is possible to create an image map when using binary streaming, but another technique must be used. Refer to the Client-Side Mapping and Binary Streaming topic for further details.

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.

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.