DiagramCoordinates.QualitativeArgument Property
Gets the qualitative argument of the diagram point.
Namespace: DevExpress.Xpf.Charts
Assembly: DevExpress.Xpf.Charts.v19.2.dll
Declaration
Property Value
Type | Description |
---|---|
String | A String, that is a diagram point’s qualitative argument. |
Remarks
Use the XYDiagram2D.PointToDiagram method to convert the display coordinates of the point within the diagram to the DiagramCoordinates object. The QualitativeArgument property of this object is calculated as follows:
If the DiagramCoordinates.ArgumentScaleType is not the ScaleType.Qualitative, this method returns the Empty value.
Example
This example demonstrates how to use a PointToDiagram method to transform screen coordinates to diagram coordinates.
Note
A complete sample project is available at https://github.com/DevExpress-Examples/how-to-display-a-crosshair-cursor-on-a-chart-control-e3563.
Point position = e.GetPosition(chart);
DiagramCoordinates diagramCoordinates = diagram.PointToDiagram(position);