Skip to main content

XYDiagram2D.DiagramToPoint(String, DateTime) Method

Converts the diagram coordinates of a point into screen coordinates.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v14.2.dll

#Declaration

public ControlCoordinates DiagramToPoint(
    string argument,
    DateTime value
)

#Parameters

Name Type Description
argument String

A String value, specifying the point's argument.

value DateTime

A DateTime, specifying the point's value.

#Returns

Type Description
ControlCoordinates

A ControlCoordinates object, containing information about the point's screen coordinates, and its associated pane.

#Remarks

Use the DiagramToPoint method to convert diagram coordinates of a point (measured in axis units) to the screen coordinates.

NOTE

For the opposite conversion (of screen coordinates to diagram coordinates), use the XYDiagram2D.PointToDiagram method.

#Examples

This example demonstrates how to use a DiagramToPoint method to transform chart coordinates to screen coordinates.

See Also