Skip to main content

RadarDiagram.DiagramToPoint(DateTime, DateTime) Method

Converts the diagram coordinates of a point into screen coordinates.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

public ControlCoordinates DiagramToPoint(
    DateTime argument,
    DateTime value
)

Parameters

Name Type Description
argument DateTime

A DateTime 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. For example, calling this method in the ChartControl.CustomPaint event handler allows you to obtain screen coordinates of series points, and draw custom graphics onto your chart across them.

Note

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

With the XY-Diagram type, use the similar XYDiagram2D.PointToDiagram and XYDiagram2D.DiagramToPoint methods.

For more information, see Handling Client-side Scripts.

See Also