Method GraphSpaceToViewport
GraphSpaceToViewport(PointF)
Calculates the viewport-relative location for a given point in graph space.
public Point GraphSpaceToViewport(PointF location)
Parameters
locationPointFPoint in graph space that may or may not be represented in the visible area of graph currently presented. E.g. 0,0 for origin.
Returns
- Point
Viewport-relative position (Column/Row) which would be used to render the graph
location. Note that this can be outside the current content area of the view. Viewport-relative coordinates have (0,0) at the top-left of the View's content area (after accounting for Border, Margin, and Padding).