Skip to content

LiveChartViewModel.ClearAxisCrosshairs() method

Defined in

Type: LiveChartViewModel Namespace: CrissCross.WPF.Plot Assembly: CrissCross.WPF.Plot.dll

Applies to

net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481

public void ClearAxisCrosshairs()

View source

Summary: Removes all axis-related crosshair lines and markers from the plot and clears the crosshair collection.

Remarks

This method disposes of each crosshair item and removes its associated visual elements from the plot. After clearing, the plot is refreshed to reflect the changes. Calling this method when no crosshair items are present has no effect.