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


Gets or sets the map area attributes of an axis.
Other attributes of the axis map area.

Syntax

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

Example

The following sample specifies a client-side javascript function to execute when the user clicks on the primary X axis element.
Visual Basic Copy Code
Chart1.ChartAreas(0).AxisX.MapAreaAttributes = "OnClick = javascript:MyFunction()"

Remarks

Setting this property will automatically result in a client-side image map being created, and a map area will be created with the attribute string appended to the <MAP> tag (that corresponds to the Axis object this property is being set for).

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.