Spread ASP.NET 16
FarPoint.Web.Chart Assembly / FarPoint.Web.Chart Namespace / Chart2DRenderer Class / HitTest Method
Graphics context
Area where to get the hit test information
Chart model
X-coordinate
Y-coordinate


In This Topic
    HitTest Method (Chart2DRenderer)
    In This Topic
    Gets hit test information.
    Syntax
    'Declaration
     
    Public Function HitTest( _
       ByVal g As Graphics, _
       ByVal rectangle As RectangleF, _
       ByVal model As ChartModel, _
       ByVal x As Single, _
       ByVal y As Single _
    ) As HitTest
    'Usage
     
    Dim instance As Chart2DRenderer
    Dim g As Graphics
    Dim rectangle As RectangleF
    Dim model As ChartModel
    Dim x As Single
    Dim y As Single
    Dim value As HitTest
     
    value = instance.HitTest(g, rectangle, model, x, y)
    public HitTest HitTest( 
       Graphics g,
       RectangleF rectangle,
       ChartModel model,
       float x,
       float y
    )

    Parameters

    g
    Graphics context
    rectangle
    Area where to get the hit test information
    model
    Chart model
    x
    X-coordinate
    y
    Y-coordinate

    Return Value

    A HitTest object that contains hit test information
    See Also