Skip to content

LiveChartViewModel.CreateAxisWithPoints() 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 CreateAxisWithPoints()

View source

Summary: Removes the existing bottom axis from the plot and creates a new bottom axis with updated settings.

Remarks

Call this method to reset the bottom axis of the plot, typically when axis configuration or appearance needs to be refreshed. The method also updates the axis color to match the current settings. If the plot view model is not initialized, the method does nothing.