AreaStepSeries2D.SnapCrosshairToActualStep Property
In This Article
Indicates whether the crosshair label displays the actual step value.
Namespace: DevExpress.Xpf.Charts
Assembly: DevExpress.Xpf.Charts.v24.2.dll
NuGet Package: DevExpress.Wpf.Charts
#Declaration
#Property Value
Type | Description |
---|---|
Boolean | true if the crosshair label displays the actual step value; otherwise, false. |
#Remarks
When the SnapCrosshairToActualStep property is set to true, the crosshair label displays the actual step value.
When the SnapCrosshairToActualStep property is set to false, the crosshair label displays the nearest series point data. The Chart Control determines the nearest series point based on the CrosshairOptions.SnapMode value.
Snap Snap |
Snap Snap |
---|---|
![]() |
![]() |
The following markup sets the SnapCrosshairToActualStep property to false:
<dxc:ChartControl.Diagram>
<dxc:XYDiagram2D>
<dxc:XYDiagram2D.Series>
<dxc:AreaStepSeries2D ArgumentScaleType="DateTime" SnapCrosshairToActualStep="False">
<dxc:AreaStepSeries2D.Points>
<dxc:SeriesPoint Argument="1/1/2020" Value="138.7" />
<!--...-->
</dxc:AreaStepSeries2D.Points>
</dxc:AreaStepSeries2D>
</dxc:XYDiagram2D.Series>
</dxc:XYDiagram2D>
</dxc:ChartControl.Diagram>
See Also