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


Gets the Axis object that may be associated with a chart element returned by a hit test (depends if a chart element was detected at the given location, as well as the type of chart element).


Axis object

Syntax

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

Return Value

An object of type Axis, or null (Nothing for Visual Basic).  Defaults to null.

Remarks

If the chart object returned by the hit test is an object that is associated with an axis (e.g. scrollbar element, tick mark, grid line or a strip line) then this Axis property will reference the Axis object the returned chart object is associated with. Otherwise this property will be null (Visual Basic users should test for Nothing).

Note that the HitTest method may be called explicitly, in which case a chart element may or may not be at the specified location.

For more information see the Selection of Chart Elements and Drilldown 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.