LiveChartViewModel.ClearContent() 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 ClearContent()
Summary: Removes all plot data, controls, and labels from the current view, releasing associated resources.
Remarks
Call this method to reset the plot and related UI elements to an empty state. Any disposable resources associated with plot lines and controls are released. After calling this method, the plot and UI collections will be empty, and all labels will be cleared.