Dundas Chart for ASP.NET
GetRelativePoint Method
See Also  Send comments on this topic.
Dundas.Charting.WebControl Namespace > ChartGraphics Class : GetRelativePoint Method


absolute
PointF object that is using absolute coordinates.
Absolute coordinates

This method takes a PointF object and then returns the object after converting its absolute coordinates to relative coordinates.


Converts Absolute Coordinates of Point to Relative coordinates

Syntax

Visual Basic (Declaration)  
Public Function GetRelativePoint( _
   ByVal absolute As PointF _
) As PointF
Visual Basic (Usage) Copy Code
Dim instance As ChartGraphics
Dim absolute As PointF
Dim value As PointF
 
value = instance.GetRelativePoint(absolute)
C#  
public PointF GetRelativePoint( 
   PointF absolute
)

Parameters

absolute
PointF object that is using absolute coordinates.
Absolute coordinates

Return Value

A PointF object that has been converted to use relative coordinates.


Relative coordinates in %

Remarks

Returns a PointF object that utilizes relative coordinates (relative for the entire chart image).

See the Chart Coordinate System topic for a detailed explanation concerning the Chart's coordinate system.

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.